Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^3: What happened to dor and err in Perl 5.10?

by ikegami (Pope)
on Jan 05, 2008 at 14:44 UTC ( #660538=note: print w/replies, xml ) Need Help??


in reply to Re^2: What happened to dor and err in Perl 5.10?
in thread What happened to dor and err in Perl 5.10?

Just like or is almost only be useful in structures of the form

func arg or stmt;

err would almost only be useful in structures of the form

func arg err stmt;

Simply replacing err with // would be wrong, but appropriate use of parens will do the trick:

func(arg) // stmt;
(func arg) // stmt;
if (not defined func arg) { stmt; }

etc.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2021-11-28 11:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?