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

Re: shift and logical or

by Kenosis (Priest)
on Nov 16, 2012 at 23:19 UTC ( #1004266=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
        my $string = shift || 'Nothing was sent.';
        print $string, "\n";
    }
    
  2. or download this
    Hello, world.
    
  3. or download this
    Nothing was sent.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1004266]
help
Chatterbox?
and snow settles gently...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2017-02-19 17:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (293 votes). Check out past polls.