Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: $1 not "freezing" in an addition

by tobyink (Abbot)
on Dec 14, 2012 at 12:32 UTC ( #1008827=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings FATAL => 'all';
    ...
    );
    
    done_testing;
    
  2. or download this
    use strict;
    use warnings FATAL => 'all';
    ...
    }
    
    print foo + bar, "\n";
    
  3. or download this
    foo just happened
    bar just happened
    42
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1008827]
help
Chatterbox?
[Corion]: Ah no, at least in my feeble experiments that doesn't change the meaning
[Corion]: We sell sanity in small packages ;)
[Eily]: oh, boolean context uses the "" overload if no bool overload has been defined
[Eily]: (I wondered if overloading bool was actually necessary)

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2017-07-27 13:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (414 votes). Check out past polls.