in reply to Re: Perl Style: Is initializing variables considered taboo?
in thread Perl Style: Is initializing variables considered taboo?
You should set arrays and hashes to the empty list.
my @this = (); my %that = ();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Perl Style: Is initializing variables considered taboo?
by chromatic (Archbishop) on Aug 22, 2010 at 17:37 UTC | |
by shawnhcorey (Friar) on Aug 22, 2010 at 20:08 UTC | |
by Anonymous Monk on Aug 22, 2010 at 21:47 UTC |