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 reply to Re^3: Open in for loop/array structure
by jwkrahn
in thread Open in for loop/array structure
by igotlongestname
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |