RE: I/O Question

2006-06-15 Thread Moon, John
-Original Message- From: Doug Adams [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 14, 2006 10:59 AM To: beginners@perl.org Subject: I/O Question I'm a first time perl user, jumping right into cgi on a mac, and I can't for the life of me figure out how to specify file paths other than t

Re: I/O Question

2006-06-14 Thread Mr. Shawn H. Corey
On Wed, 2006-14-06 at 10:58 -0400, Doug Adams wrote: > I'm a first time perl user, jumping right into cgi on a mac, and I can't > for the > life of me figure out how to specify file paths other than to the > CGI-Executables folder (where my program is), or any subdirectory thereof. I > have been b

Re: I/O Question

2006-06-14 Thread Tom Phoenix
On 6/14/06, Doug Adams <[EMAIL PROTECTED]> wrote: I'm a first time perl user, jumping right into cgi on a mac, and I can't for the life of me figure out how to specify file paths other than to the CGI-Executables folder (where my program is), or any subdirectory thereof. Specify a file path w

Re: I/O Question

2006-06-14 Thread Jeff Peng
On Wed, 14 Jun 2006 10:58:50 -0400, "Doug Adams" <[EMAIL PROTECTED]> said: > I'm a first time perl user, jumping right into cgi on a mac, I'm sorry for my first message.I didn't see your problem clearly,it's MAC OS,not Unix,sorry for it again. -- Jeff Peng [EMAIL PROTECTED] -- http://www.

Re: I/O Question

2006-06-14 Thread Jeff Peng
Hello, What OS do you use?I suppose than you run CGI scripts under Unix,then you could specify the path simply as: my $path='/your/path/'; But I would remind you that this path would be accessable to your CGI programs.In general,CGI is run by Apache which is run as 'nobody' user,so this path shou