http://qs321.pair.com?node_id=427759

smark has asked for the wisdom of the Perl Monks concerning the following question:

Fellow monks, Can anyone figure out why this doesn't work as expected?
#!/usr/bin/perl my @m = ('a','b'); my $i = 0; print @m[$i,$i++];
It should print 'aa', correct? Or maybe 'ab' if the ++ is processed early by perl? It prints 'ba'...