--thanks for the reply.

--even still, if the file already exists,
--nothing is printed inside of the file.
--it's still empty and i'm not sure 
--where it's breaking down.

--i mean, i can see that it doesn't
--even print the first line (print statement),
--but i don't know *why* it's not printing
--anything and not returning an error.

--any thoughts?

-X

-----Original Message-----
From: WC -Sx- Jones [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 1:56 PM
To: [EMAIL PROTECTED]
Subject: Re: problem opening file inside for-loop



On Wednesday, May 28, 2003, at 12:43  PM, Johnson, Shaunn wrote:

> my $file='/usr/local/home/joe/tmp/backup_list.txt';


You cannot create a variable from something that does not yet exist.


Try creating it first:

`touch /usr/local/home/joe/tmp/backup_list.txt`;
my $file='/usr/local/home/joe/tmp/backup_list.txt`;

:)

http://InSecurity.org/
_Sx____________________
  ('>    iudicium ferat
  //\   Have Computer -
  v_/_    Will Hack...

               \|/ ____ \|/
               "@'/ .. \`@"
               /_| \__/ |_\
                  \__U_/


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to