Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re^4: How come undef eq '' ??

by tmharish (Friar)
on Jan 31, 2013 at 06:45 UTC ( #1016230=note: print w/replies, xml ) Need Help??

in reply to Re^3: How come undef eq '' ??
in thread How come undef eq '' ??

muba - Makes perfect sense.

I deal with errors ( such as login fail ) by either Croaking or returning two values so:

my( $is_success, $return_val ) = this_function_might_return_mu();

But I see the obvious merit in returning undef - Something I intend to use in the future.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (13)
As of 2016-10-25 15:47 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (323 votes). Check out past polls.