Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

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.

Comment on Re^4: How come undef eq '' ??
Download Code

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 taking refuge in the Monastery: (7)
As of 2015-11-27 08:59 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (722 votes), past polls