Perl Monk, Perl Meditation | |
PerlMonks |
Re: How can I create an array that holds number of variables with values?by turnstep (Parson) |
on Dec 26, 2000 at 08:22 UTC ( [id://48288]=note: print w/replies, xml ) | Need Help?? |
Also keep in mind that you may not need to initialize
them at all - perl can usually figure out what you want to do.
For example
Both of the above will work fine. The values start out undefined, and in most cases (but not all) they do not need an explicit initialization.
In Section
Seekers of Perl Wisdom
|
|