Problem accessing the command line arguments

2002-05-02 Thread Sailaja Gudipati
Hi, I understood that @ARGV is used to hold the command line parameters given to a perl script. But, when I tried to access them, its empty. The following code piece assumes two command line options be given, the first one being the -f switch and the second one being the file name itself. mysc

RE: Re : Problem : @INC

2002-02-28 Thread Sailaja Gudipati
> should be installed at > \(perldirectory)\site\lib > > -Original Message- > From: Sailaja Gudipati [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 28, 2002 2:15 PM > To: [EMAIL PROTECTED] > Subject: Re : Problem : @INC > > > Hi, > > I looked

Re : Problem : @INC

2002-02-28 Thread Sailaja Gudipati
Hi, I looked at the path and it is showing correctly (C:\Perl\Bin). Next, even some times, the error is mentioning that it is trying to find the packages at C:\Perl\lib or C:\Perl\sites\lib. Still, the problem/error persists. Any help is appreciated. Thanks Sudarsan _

Problem : @INC

2002-02-28 Thread Sailaja Gudipati
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 an