Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Export all subs from a module

by MZSanford (Curate)
on Oct 31, 2001 at 17:33 UTC ( [id://122337]=note: print w/replies, xml ) Need Help??


in reply to Export all subs from a module

If you are going so far as to export all subs, without reservation, you could also use package main;, or even define your subs as :
sub ::mysub { 1; }

please note this post does not endorse or condem exporting all subs
i had a memory leak once, and it ruined my favorite shirt.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2024-04-19 14:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found