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

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

by ikegami (Patriarch)
on May 30, 2018 at 15:50 UTC ( #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? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2022-05-21 12:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (76 votes). Check out past polls.

    Notices?