[Perl] Using namesapces

Gabor Szabo gabor at tracert.com
Thu Sep 13 05:00:10 PDT 2001


> 	If you have in those two modules, variables or subroutines which
> share the same name - than you can't escape prefixing those
> names with the modules' namespace.

and if you are sure that there are no two modules with functions with 
the same name (that is all function names are different) then you can
still use the @EXPORT array in the .pm file to export the required
functions. See the Exporter module for this:

perldoc Exporter   

-- Gabor

-- 
Gabor Szabo
http://www.tracert.com/  
Web site monitoring
Web application development 




More information about the Perl mailing list