Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

(tye)Re3: Debugger, use strict, use warnings

by tye (Sage)
on Apr 10, 2001 at 22:55 UTC ( [id://71445]=note: print w/replies, xml ) Need Help??


in reply to Re (tilly) 4: Debugger, use strict, use warnings
in thread Debugger, use strict, use warnings

After playing with this for a while, it boils down to the fact that you can't get the pragma to bubble up an extra level but you can cut'n'paste (varying amounts of) code from the pragma's *.pm file into your own *.pm in order to create your own custom pragma which does the same thing (which seems obvious now but sure didn't a few minutes ago).

Anyway, the e.pm I wanted above can be had rather simply as:

package e; require strict; require warnings; sub import { &strict::import; &warnings::import; } 1;

        - tye (but my friends call me "Tye")

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2024-04-19 02:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found