It seems that if I do
[! use lib '/whatever/wherever'; !]
in one file, it doesn't help when i do
[! use MyModule; !]
in another file.
So what is the best way to set @INC so it applies to everything?
Also, is there any way to import symbols so that they are
available everywhere without qualification?
So I would do this in myfuncs.epl :
[! use MyModule qw(func1 $VAR1); !]
and then I do elsewhere
[! Execute 'myfuncs.epl' !]
[+ func1() +]
-mda
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
[! use lib '/whatever/wherever'; !]
in one file, it doesn't help when i do
[! use MyModule; !]
in another file.
So what is the best way to set @INC so it applies to everything?
Also, is there any way to import symbols so that they are
available everywhere without qualification?
So I would do this in myfuncs.epl :
[! use MyModule qw(func1 $VAR1); !]
and then I do elsewhere
[! Execute 'myfuncs.epl' !]
[+ func1() +]
-mda
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org