good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^3: Flip-flop won't DWIMby akho (Hermit) |
on May 21, 2009 at 16:15 UTC ( [id://765494]=note: print w/replies, xml ) | Need Help?? |
Your code prints "A B C D E F" for me, and I cannot see why it would print anything else.
This seems to work if you insist on using flip-flop: However, you could copy stuff from List::MoreUtils.
In Section
Seekers of Perl Wisdom
|
|