http://www.perlmonks.org?node_id=732822


in reply to Re: check for wantarray?
in thread check for wantarray?

Excellent point. Here's one that surprised the hell out of me one time:

sub { ...; $x..$y }

Holy flip-flop operator, Batman!

I thought I was going crazy until I reread the relevant bits of perlop.


TGI says moo