I'm getting:

[415]ERR: 24: Error in Perl code: Can't use an undefined value as filehandle 
reference at /wwww/htdocs/init.epl line 8.

The code looks like this in my init.epl:

        open ($req->{DBUGF}, '>>/tmp/debug.txt') || die ("Can't open debug 
file for writing: $!");

I'm just trying to open a ascii text file for append and keeping the file handle 
in the $req so I can use it later in EmbperlObject.  This text file will be used 
for outputting debug information during page execution.

I think Perl is somehow thinking this is a reference to the handle rather than 
the handle itself?

Apache/1.3.22 (Unix) mod_perl/1.26 HTML::Embperl 2.0b5 

Thanks for any assistance!
Scott

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

Reply via email to