Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Automatically importing a subroutine for a particular namespace

by pc88mxer (Vicar)
on Jul 04, 2008 at 18:51 UTC ( #695621=note: print w/replies, xml ) Need Help??


in reply to Automatically importing a subroutine for a particular namespace

AFAIK, only one module needs to use CGI::Carp qw(fatalsToBrowser). It's not a typical function import as it modifies global behavior of warn and die.

Remove those use statement from your modules, and make it the responsibility of the program using your modules to import fatalsToBrowser.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2019-11-18 08:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (88 votes). Check out past polls.

    Notices?