Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: There Are No Perl Scripts

by Tuppence (Pilgrim)
on Nov 19, 2004 at 21:20 UTC ( [id://409164]=note: print w/replies, xml ) Need Help??


in reply to Re: There Are No Perl Scripts
in thread There Are No Perl Scripts

Yes, you are absolutely correct. Usually I just use EXPORT_OK as one of my guiding lights is that package namespaces should be as clean as possible (and no cleaner). However, even when I do use EXPORT, I still make an effort to explicitly mention the function on my use line - not because I have to, but because it cuts down on garbage in my namespace (not that anyone besides me cares) as well as saving me the confusion of where foo() comes from later on when I'm reading my code from six months ago that was apparently written by a demented baboon.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-23 19:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found