Help - Trying to use File::Spec module

2003-02-14 Thread Gazi, Nasser (London)
I'm trying to use the catfile method in the File::Spec module. The following program (called test.pl): Use File::Spec::Unix; $c = catfile("aa", "bb"); # line 2 Gives this error: "Undefined subroutine &main::catfile at test.pl line 4". I've set PERL5LIB to the correct direct

RE: Help - Trying to use File::Spec module

2003-02-14 Thread Gazi, Nasser (London)
AIL PROTECTED]] Sent: 14 February 2003 15:27 To: Gazi, Nasser (London); [EMAIL PROTECTED] Subject: RE: Help - Trying to use File::Spec module On Fri, 14 Feb 2003 15:07:21 -0000, "Gazi, Nasser (London)" <[EMAIL PROTECTED]> wrote: >

RE: Help - Trying to use File::Spec module

2003-02-14 Thread Gazi, Nasser (London)
27 To: Gazi, Nasser (London); [EMAIL PROTECTED] Subject: RE: Help - Trying to use File::Spec module On Fri, 14 Feb 2003 15:07:21 -0000, "Gazi, Nasser (London)" <[EMAIL PROTECTED]> wrote: > I'm trying to use the catfile me

Name of current perl script on Win32

2003-02-26 Thread Gazi, Nasser (London)
Hi, How can I find the name the perl script on Win32? I know that the usual way is to use $0 However, this gives me a problem on Win32 with filenames bigger than 8 characters, where $0 returns filename filename like "FIILEMAME~" which is useless to me. Help! And thanks. NG (Can't wait to get b