Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

"require Carp" may be hazardous to your code

by Steve_p (Priest)
on Dec 05, 2006 at 15:51 UTC ( [id://587888]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
    use warnings;
    ...
        Carp::carp "This should not work!";
    }
    
  2. or download this
    
    [steve@kirk ~]$ perl -Mstrict -Mwarnings \
    ...
    syntax error at -e line 2, near "Carp::carp "This should not work!""
    Execution of -e aborted due to compilation errors.
    
  3. or download this
    
    [steve@kirk ~]$ /tmp/bleadperl/bin/perl5.9.5 -Mstrict \
    ...
    This will work! at -e line 1
            main::complain() called at -e line 2
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://587888]
Approved by Sidhekin
Front-paged by demerphq
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2024-04-24 20:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found