in reply to Re: Re: Populating a hash from array
in thread Populating a hash from array

TASdvlper,
In addition to what bart said, if your data really does look like this - there is probably a much better way to build your array (the lazy way).
my @array1 = map { 'foo' . $_ } 1 .. 99;
"Ok great, but I want the first element to just be 'foo' with no number"
my @array1 = map { $_ ? 'foo' . $_ : 'foo' } 0 .. 99;
Cheers - L~R