Hi all,
     I am executing a perl script from a directory other than the one it is
located in.  I have a package that the script is using located in the same
directory as the script, but the script cannot find this package because
the package is not in the include directory.  I need a way to include the
directory the script is located in as a location for packages WITHOUT
passing any parameters to perl or the script itself.

I have taken a look at:
use lib "PATH"

but I am having trouble stripping $0 of the perl script name.

Any ideas ?

-----------------------------------------
Craig Moynes
Internship Student
netCC Development
IBM Global Services, Canada
Tel: (905) 316-3486
[EMAIL PROTECTED]


Reply via email to