"Ok great, but I want the first element to just be 'foo' with no number"my @array1 = map { 'foo' . $_ } 1 .. 99;
Cheers - L~Rmy @array1 = map { $_ ? 'foo' . $_ : 'foo' } 0 .. 99;
In reply to Re: Re: Re: Populating a hash from array
by Limbic~Region
in thread Populating a hash from array
by TASdvlper
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |