Welcome to the Monastery | |
PerlMonks |
Re^3: Open in for loop/array structureby jwkrahn (Abbot) |
on Jun 03, 2008 at 20:52 UTC ( [id://690005]=note: print w/replies, xml ) | Need Help?? |
why did you have to put the first chunk of numbers in single quotes (i.e. '00' .. '18'), but not the rest of them? I used the quotes because without them perl would remove the leading zeros. how in the for loop, the code knows to use each name in the array. That is the way that for/foreach loops work.
In Section
Seekers of Perl Wisdom
|
|