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

The standard File::Basename module has a dirname() function
that will do that for you.

Alternatively, you can say something like this in your perl script:

use lib '/path/to/your/module/file.pm';


-- tdk

Reply via email to