in reply to Re: Re: Populating a hash from array
in thread Populating a hash from array
"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;
|
|---|