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

Re: Miscellaneous.pm?

by tirwhan (Abbot)
on Mar 03, 2006 at 07:03 UTC ( [id://534153]=note: print w/replies, xml ) Need Help??


in reply to Miscellaneous.pm?

One thing to remember if you do put these functions into one or more modules, don't export your subroutines by default in @EXPORT, rather put them in @EXPORT_OK so that the importing code needs to import them explicitly. That way you avoid possible collisions with subroutines in other packages, but also (more importantly IMO) you make it obvious to the reader of your code where that function came from.


All dogma is stupid.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-23 06:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found