Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: check for wantarray?

by TGI (Parson)
on Dec 27, 2008 at 17:16 UTC ( #732822=note: print w/ replies, xml ) Need Help??


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


Comment on Re^2: check for wantarray?
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://732822]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (10)
As of 2016-02-13 17:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (442 votes), past polls