[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: for a Perl script to find a module



use Cwd qw/cwd chdir abs_path/;
use File::Basename qw/dirname/;
use lib abs_path(dirname($0));

use MyModule;

Adapted from http://www.wetware.com/drieux/CS/lang/Perl/PM/useLibHack.html

Nick Lewycky



Reply to: