I am trying to get Index of an element in an Array in Perl.(Irrespective of version of TS). Here is a snippet which i am using. It works fine in my IDE but when i use it wit an array having elements like "000000004325" it doesn't work, can some one suggest me a workaround
Thanks
my %bar;
my $i = 0;
$bar{$_} = $i++ for (@foo);
print ("Big Number's index = $bar{'000000004325'}\n");
000000004325 is an element of that array