Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: ||= (poorly documented?)

by frozenwithjoy (Curate)
on Jul 09, 2012 at 05:55 UTC ( #980652=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $string;
    $string ||= "Oh noes! Your variable was undef or false!";
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2014-12-25 01:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls