Re: Introduction and question
- From: zentara <zentara1 sbcglobal net>
- To: gtk-perl-list gnome org
- Subject: Re: Introduction and question
- Date: Tue, 15 Jul 2008 15:05:48 -0400
On Tue, 15 Jul 2008 11:40:56 -0700 (PDT)
Sergei Steshenko <sergstesh yahoo com> wrote:
One should have very special reason to use 'local' in Perl, I haven't had
such a reason for probably more than 10 years.
So, I suggest not to use 'local'.
should better be replaced with
opendir(my $dh, $dir) or die "cannot open '$dir' directory";
'local' creates a global entity - why one would need this ?
Right you are. It was some old code I had, I should have looked
more closely, but it worked..... so I didn't look too close. :-)
I'm not really a human, but I play one on earth.
] [Thread Prev