![]() |
|
Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^3: brian's Guide to Solving Any Perl Problem (@EXPORT_OK++)by tye (Sage) |
on Feb 08, 2005 at 04:11 UTC ( [id://428906]=note: print w/replies, xml ) | Need Help?? |
Most style guides I work under ask for the full package name of external functions What an awful idea. Just being explicit about what you import from any module you use is a much better idea. @EXPORT is evil but @EXPORT_OK makes for easier-to-read/-write code and provides reasonable interface verification (at compile time, no less). demerphq already said all of this, but I just boggle at the sentence I quoted so I had to chime in against such insanity. - tye
In Section
Meditations
|
|