kirk123 has asked for the wisdom of the Perl Monks concerning the following question:
Earlier someone suggest I use "use lib 'c:\h\COTS\Perl\lib'; in my code to overcome an error" can't locate File/Find.pm in @INC (@INC contains: c:\h\coe\comp\perl\lib\site c:\h comp\perl\lib c:\perl\lib c:\perl\lib\site c:\perl\lib\site .) at dir.pl li EGIN failed--compilation aborted at dir.pl line 3."
Well it did not work. I still could use some help. Here is my code:
The Find.pm is actually located in "c:\h\COTS\Perl\lib\File"#!/h/COE/Perl/bin/perl use lib 'c:\h\COTS\Perl\lib'; use File::Find; find(\&wanted,'/h', '/h/COE' ); sub wanted{ -d $_ && print "$File::Find::name\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Stuck with can't find module error
by chromatic (Archbishop) on Apr 15, 2003 at 22:30 UTC | |
by tye (Sage) on Apr 16, 2003 at 16:03 UTC | |
|
Re: Stuck with can't find module error
by cLive ;-) (Prior) on Apr 15, 2003 at 22:29 UTC |