From: Randal L. Schwartz [mailto:[EMAIL PROTECTED]
> > "Wert," == Wert, Nathaniel J <[EMAIL PROTECTED]> writes:
>
> Wert,> Please excuse my lack of knowledge in this subject.
> The original script
> Wert,> executes every statement and in the process, it erases
> the file when it
> Wert,>
> "Wert," == Wert, Nathaniel J <[EMAIL PROTECTED]> writes:
Wert,> Please excuse my lack of knowledge in this subject. The original script
Wert,> executes every statement and in the process, it erases the file when it
Wert,> does the open and then proceeds to not write to the file at all. Is
: Randal L. Schwartz [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 18, 2005 10:36 AM
To: beginners-cgi@perl.org
Subject: Re: No appending...
>>>>> "Nathaniel" == Nathaniel J Wert <[EMAIL PROTECTED]> writes:
Nathaniel> Actually, with the help of another person he
> "Nathaniel" == Nathaniel J Wert <[EMAIL PROTECTED]> writes:
Nathaniel> Actually, with the help of another person here we figured
Nathaniel> out what was wrong. Apparently there is a problem with the
Nathaniel> sleep() function where it interferes with the open() of the
Nathaniel> file.
Tha
welcome your comments and thanks for the help.
Nate.
-Original Message-
From: Wert, Nathaniel J
Sent: Wednesday, May 18, 2005 10:02 AM
To: Perl Beginners - CGI List
Subject: RE: No appending...
I guess I should give a little more in depth explanation. The file and
directory does exist
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, "
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
> "Nathaniel" == Nathaniel J Wert <[EMAIL PROTECTED]> writes:
Nathaniel> The following script is not appending to the file for some reason.
Nathaniel> Please bestow your wisdom on me oh great Perl gods. :-)
Nathaniel>
N