|
|
| P is for Practical | |
| PerlMonks |
Re: Miscellaneous.pm?by tirwhan (Abbot) |
| on Mar 03, 2006 at 02:03 UTC ( [id://534153]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
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.
In Section
Meditations
|
|
||||||||||||||||||||||||