Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://732822]
help
Chatterbox?
[pryrt]: But in what circumstance does your problem arise? When, in Perl, does the integer 1 not work identically to the floating-point NV 1.0000000000000000 e0?

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (16)
As of 2017-05-24 19:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?