in reply to USE or Require?
I just dislike the namespace pollution that calling 'use' entails, such as not knowing exactly what functions it imports.
You have moved into a dark place.
It is pitch black. You are likely to be eaten by a grue.
If the docs aren't enough, check the source. And if that isn't enough either, the call use with parameters, as in:
or for that matter,use CGI qw(:standard);
to import nothing. use is done at compiletime, and thus IMO is preferable in most cases. I only use require when I need to do conditional inclusion of something.use CGI ();
You have moved into a dark place.
It is pitch black. You are likely to be eaten by a grue.
|
---|
In Section
Meditations