Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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

by tomfahle (Priest)
on Jan 05, 2008 at 13:05 UTC ( #660534=note: print w/replies, xml ) Need Help??


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

Thank you. That's exactly what I am looking for.

  • Comment on Re^2: What happened to dor and err in Perl 5.10?

Replies are listed 'Best First'.
Re^3: What happened to dor and err in Perl 5.10?
by ikegami (Pope) on Jan 05, 2008 at 14:44 UTC

    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://660534]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2021-10-19 17:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (77 votes). Check out past polls.

    Notices?