Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: How to assign string "0" in short circuit

by poolpi (Hermit)
on Feb 04, 2008 at 13:05 UTC ( [id://665951]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub function1 {
           my ($var) = @_? @_:'no arg';  
    ...
    function1('0');
    function1('zero');
    function1();
    
  2. or download this
    Output:
    0
    0
    zero
    no arg
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2024-04-26 01:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found