get current dir

2001-11-16 Thread Pradeep Sethi
what is the function in perl that returns current dir ? Thanks -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: get current dir

2001-11-16 Thread Rex Arul
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

RE: get current dir

2001-11-16 Thread Pradeep Sethi
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:

Re: get current dir

2001-11-16 Thread Michael Fowler
On Fri, Nov 16, 2001 at 05:23:19PM -0800, Pradeep Sethi wrote: > what is the function in perl that returns current dir ? see perldoc Cwd Michael -- Administrator www.shoebox.net Programmer, System Administrator www.gallanttech.com -- -- To unsubscribe, e-mail: [EMAIL PR

Re: get current dir

2001-11-16 Thread Rex Arul
D]> Sent: Friday, November 16, 2001 8:34 PM Subject: Re: get current dir > On Fri, Nov 16, 2001 at 05:23:19PM -0800, Pradeep Sethi wrote: > > what is the function in perl that returns current dir ? > > see perldoc Cwd > > > Michael > -- > Administr

Re: get current dir

2001-11-16 Thread Jeff 'japhy' Pinyan
On Nov 16, Rex Arul said: >C:\WINDOWS>perldoc -f Cwd >No documentation for perl function `Cwd' found perldoc -f Cwd is not the same as perldoc Cwd. There is a standard module, Cwd.pm, that gives you a cwd() function. >From: "Michael Fowler" <[EMAIL PROTECTED]> > >> On Fri, Nov 16, 2001 at 05:2