Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Should I use carp/croak or warn/die

by ikegami (Patriarch)
on May 30, 2018 at 15:50 UTC ( [id://1215476]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -Mlib=. -MMod -e'Mod::foo();'
    Insufficient arguments at Mod.pm line 5.         # carp
    Insufficient arguments at -e line 1.             # warn
    
  2. or download this
    $ PERL5OPT=-MCarp::Always perl -Mlib=. -MMod -e'Mod::foo();'
    Insufficient arguments at Mod.pm line 5.
    ...
    Insufficient arguments at Mod.pm line 6.
            Mod::foo() called at Mod.pm line 6.
            Mod::foo() called at -e line 1
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2024-04-19 13:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found