$VAR1 = [ \'830974\', \'722065\', \'722046\', \'716963\' ];
How can I calculate the array index for
use strict; use Data::Dumper; sub invert { my $i=0; map { $i++ => $_ } @_; } my @a = ('a','b','c','d','e'); print Dumper @a; print Dumper invert @a;