I am on unix I am doing this :
my $dir=`pwd`; but I was looking, if there is a function in perl. > -----Original Message----- > From: Rex Arul [mailto:[EMAIL PROTECTED]] > Sent: Friday, November 16, 2001 5:36 PM > To: Pradeep Sethi; [EMAIL PROTECTED] > Subject: Re: get current dir > > > > Quick Reply: If you are in Windows OS, this would work: > > perl -e "use Win32; print Win32::GetCwd();" > > > ----- Original Message ----- > From: "Pradeep Sethi" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, November 16, 2001 8:23 PM > Subject: get current dir > > > > what is the function in perl that returns current dir ? > > > > Thanks > > > > -- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]