Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Answer: How to deal with undefined returned variables.

by rinceWind (Monsignor)
on Mar 06, 2002 at 17:00 UTC ( #149745=note: print w/replies, xml ) Need Help??


in reply to Re: How to deal with undefined returned variables.
in thread How to deal with undefined returned variables.

I take it that the difference between // and || is the difference between testing truthfulness and testing definedness.

Hence there is not difference between $a // $b and $a || $b unless $a is 0 or "".

It doesn't sound that useful to me.

  • Comment on Re: Answer: How to deal with undefined returned variables.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2022-07-02 11:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My most frequent journeys are powered by:









    Results (103 votes). Check out past polls.

    Notices?