Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 musing on the Monastery: (8)
As of 2015-01-30 13:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My top resolution in 2015 is:

















    Results (249 votes), past polls