JupiterHost.Net wrote:
So scratch what I said, what Gunnar said is better.

my @files;

is what you want, as my @files = (); is basically pointless ;p

Now I think you are too hard to yourself. :) I've noticed that some prefer @files = () for clarity, so it may not be totally pointless.


At the same time it's important to be aware of that side-effect of my(), or else you may encounter surprises...

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to