Hi Wang :
Try this :
sub BEGIN {
push @INC, "mysandbox/blah"; # you can include any path here
}
use myPackage.pm
/ Ravi
Wenjie Wang wrote:
> Greetins,
>
> I'm try to use another perl module of mine in a different perl file in
> different directory. I would like to know how to use
Greetins,
I'm try to use another perl module of mine in a different perl file in
different directory. I would like to know how to use the package in my
code. For example, I've got a module in directory:
mysandbox\blah\myPackage.pm
I'm going to use it from another directory:
mysan