I think there should not be any spaces between " and >, and that's the reason why it failed.
Thanks anyway. open (OFILE, " > /tmp/aa.lst") or die "Can't write $p_OutputFile: -----Original Message----- From: Allen Wang [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 27, 2002 11:50 AM To: 'Joe Raube'; [EMAIL PROTECTED] Subject: RE: Create an output file using Perl Yes, we do have "/tmp" diretory and everyone has write permission to "/tmp" Thanks, allen -----Original Message----- From: Joe Raube [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 27, 2002 11:47 AM To: [EMAIL PROTECTED] Subject: Re: Create an output file using Perl Does the /tmp directory exist? does the user running this script have write permissions to that directory? --- Allen Wang <[EMAIL PROTECTED]> wrote: > > i want to generate an output file using perl > > open (OFILE, " > /tmp/aa.lst") or die "Can't write $p_OutputFile: > $! "; > > Everytime I ran it, I got the following error message. > > Can't write /tmp/aa.lst: No such file or directory at compare.pl > line 71. > > > Any suggestions? > > Thanks, > Allen > > __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]