> Thanks for the quick reply, Timm.
>
> OK, I can understand why I would have to do that. But I really don't want
> to do that, because I'm going to send the user an email with the URL later.
> I just want to create the file, which it does, so really my only
> problem/confusion is the error message itself. I don't understand why I'm
> getting it. I want it to go away.
>
Have a look at this:
> > From the HTML::Template documentation:
> >
> > The return value is undefined when using the "print_to" option.
So, if the return value is undef, it's quite normal that print() does
complain. So, just omit the print() statement :)
> > If you want to print to both the the *WEBFILE file handle and to
> > the user,
> > then you need two output() operations:
> >
> > $spage->output( print_to => * WEBFILE );
> > print $spage->output();
> >
> > Or, if you only want to print the template to the *WEBFILE file handle,
> > then you do without the second line.
But shouldn't the last output() line omit the print() statement too?
Cheers,
Bodo
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.