in reply to Perldoc and the =EXPORT tag
As for your second question about the use of EXPORT, here is what perlman:perlmodlib has to say:=head1 EXPORTED THINGIES =over 4 =item Keypressed Blah blah blah...
Do NOT export anything else by default without a good reason!
Exports pollute the namespace of the module user. If you must export try to use @EXPORT_OK in preference to @EXPORT and avoid short or common names to reduce the risk of name clashes.
jeffa
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (jeffa) Re: Perldoc and the =EXPORT tag
by John M. Dlugosz (Monsignor) on Sep 16, 2001 at 23:50 UTC |