DreamT has asked for the wisdom of the Perl Monks concerning the following question:
to "find out" the search path, but since getcwd gets the path from the source script (that in turn includes caller.pl), this fails for all scripts that resides in another directory.use Cwd; my $dir = getcwd; use lib $dir."/mysubdirectory";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Include stubmaker-generated pm file in calling script!
by Anonymous Monk on Apr 28, 2010 at 19:26 UTC | |
by DreamT (Pilgrim) on Apr 29, 2010 at 06:28 UTC | |
by Anonymous Monk on Apr 29, 2010 at 09:39 UTC | |
by DreamT (Pilgrim) on Apr 30, 2010 at 12:04 UTC |