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]

Reply via email to