🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.perl
Article #52223

Re: Perl cwiczenia...

#52223
From: Adam Osuchowski
Date: Sun, 22 May 2011 20:48
13 lines
1162 bytes
Sl@eR wrote:
> Pytanko więc jak powinien wyglądać ten kod aby się nie czepiał ;)

Jedynie wyłączyć strict refs:

#v+
use strict;
no strict 'refs';
#v-

i zadeklarować tą zmienną jako `our' zamiast jako `my'. Działanie stricta
m.in. zabezpiecza przed referencjami symbolicznymi więc jest to efekt
jak najbardziej zamierzony.
Technical Details
Message-ID: <20110522204840.6b8b4567@polsl.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!polsl.pl!not-for-mail
References: <irbpsa$pab$1@news.vectranet.pl> <20110522200349.6b8b4567@polsl.pl> <irbqnb$9h$1@news.vectranet.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!polsl.pl!not-for-mail
From: Adam Osuchowski <someone@somewhere.com>
Newsgroups: pl.comp.lang.perl
Subject: Re: Perl cwiczenia...
Date: Sun, 22 May 2011 20:48:40 +0000 (UTC)
Organization: Politechnika Slaska, Gliwice
Lines: 13
Message-ID: <20110522204840.6b8b4567@polsl.pl>
References: <irbpsa$pab$1@news.vectranet.pl> <20110522200349.6b8b4567@polsl.pl> <irbqnb$9h$1@news.vectranet.pl>
NNTP-Posting-Host: hydra.ck.polsl.pl
Mime-Version: 1.0
X-Trace: polsl.pl 1306097320 24060 2a01:1d8:1:1::11 (22 May 2011 20:48:40 GMT)
X-Complaints-To: news@polsl.pl
NNTP-Posting-Date: Sun, 22 May 2011 20:48:40 +0000 (UTC)
In-Reply-To: <irbqnb$9h$1@news.vectranet.pl>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit