Confusing the scalar context range operator (flip flop) and the list context range operator is pretty nasty. Consider:
my @array = qw(1 2 3 4 5 6 7 8 9); print "$array[0..3]";
What does it print for you? For a little more explanation see the last part of Flipin good, or a total flop?.
In reply to Re: I need a "non-trivial" bug for my script!
by GrandFather
in thread I need a "non-trivial" bug for my script!
by Antigone
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |