in reply to Re^2: Interesting Use for "state" Variables
in thread Interesting Use for "state" Variables

You can achieve something similar without modules a couple of ways:

@a = 'A'..'J'; for my $r ( map { k=> $_, v=> $a[ $_ ] }, 0 .. $#a ) { print "@{ $r }{ k, v }\n" } 0 A 1 B 2 C 3 D 4 E 5 F 6 G 7 H 8 I 9 J

Or

@a = 'A'..'J'; for my $r ( map [ $_, $a[ $_ ] ], 0 .. $#a ) { print "$r->[0]:$r->[1]\n" } 0:A 1:B 2:C 3:D 4:E 5:F 6:G 7:H 8:I 9:J

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."