Hello All,
> I am having the problem with saving data to the file.  Script looks like
> this:
> [* $myfile="/path/to/my/file";
>    open (OUT, ">$myfile) || die "Could not write to $myfile";
>    print OUT $fdat{mydata};
>    close (OUT);
> *]
> What happens is I have the empty file (0 bytes), and the Internal Server
> Error:
> ERR:24: Line XX: Error in Perl Code: Can't locate object method "CLOSE"
> via package "HTML::Embperl::Out" at /full/path/to/my/script.epl line XX.
> 
> Any ideas of what I am doing wrong?
> 

OUT is a presetup filehandle used by Embperl. Choose another name.

Gerald



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

Reply via email to