Hello, You have to make sure that File/Basename.pm is somewhere that the perl knows how to get to. It can't find that PM. So your path might be messed up.
[EMAIL PROTECTED] wrote: >Hi All, > >Please find below the error, when I am executing a >simple script which tries to use a package as follows: >use use Getopt::Long; > >Error :: Can't locate File/Basename.pm in @INC at >DirPath.pl line 1. BEGIN failed--compilation aborted >at DirPath.pl line 1. > >Can some body throw some light and suggest me a >solution on how to get rid of this problem. > >I've some 5.0.x version of perl installed on Win98 >system. > >To add little more, I'm able to execute this same >script till, atleast, two days back. All of the >sudden, I'm running into this problem. > >I tried installing 5.6.0 version from >www.activestate.com (a copy available to me with a >perl book). Ofcourse, I tried to download even 5.6.1 >build 652. Some how, that version is giving a problem >when Installer is trying to install. As is the case >with AS Package. The archive is not good. > >So, please help me to resolve this problem. > >Thanks in advance, >Sudarsan > >__________________________________________________ >Do You Yahoo!? >Yahoo! Greetings - Send FREE e-cards for every occasion! >http://greetings.yahoo.com > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]