Hi,
I want to create a module, say ABC.pm. I dont want to build and install the module.
Not sure what you mean by this.
I want to use a function xyz() of the module ABC in some other script.
AND, I want to call the function as xyz();
instead of
ABC::xyz();
This is possible as long your script has this statement use ABC;
If ABC always exports xyz, you don't have to do anything extra. If you have to explicitly ask for xyz from ABC, change the use statement to
use ABC qw(xyz);
perldoc perlmod perldoc perlmodlib
Look for information about @EXPORT and @EXPORT_OK
Can anyone tell me how to do that without installing the module ?
Clarification needed?
Is it sufficient to push the Module path in @INC ?
The module must be installed somewhere before you can push the module dir into @INC and use it.
Regards Rajeev
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]