Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 contemplating the Monastery: (2)
As of 2022-01-28 23:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (74 votes). Check out past polls.

    Notices?