I guess I should give a little more in depth explanation.  The file and
directory does exist.  The names are changed to protect the innocent (I
did not want to use the tmp dir).  This is basically to simulate a large
log file having entries written to it every second.  This is a section
of a larger code.  Thanks.
Nate.

-----Original Message-----
From: Chris Devers [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 18, 2005 9:35 AM
To: Wert, Nathaniel J
Cc: Perl Beginners - CGI List
Subject: Re: No appending...

On Wed, 18 May 2005, Wert, Nathaniel J wrote:

> open(TEMPFILE, ">>/temp/temp.big_ass_file") or die "unable to write 
> /temp/temp.big_ass_file:$\n";

On most Unix systems I've used, the name is usually "/tmp", not "/temp".

If you're trying to work on a file in a nonexistent directory, you
probably won't get very far... :-)



--
Chris Devers


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to