I have multiple Perl modules. The package names seems to be big
everytime i access the functions from those modules, i need to provide something like this
&PackageName::Functionname()
is there a shortcut or alias available in Perl which can reference the packages with bigger names
Thanks
Karthik
You can call the function without the
&:Also there is the exporter mechanism which exports function from a module to your default namespace:
For further explainations how to use
usesee http://perldoc.perl.org/functions/use.htmlHow to export functions when writing your own modules, see http://perldoc.perl.org/Exporter.html