[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cgiapp] Different outputs in H::T and CAP::AnyTemplate


> I decided to switch into CAP::AnyTemplate and found out, that
> HTML::Template->output returns string and
> CAP::AnyTemplate::Driver::HTMLTemplate->output returns string reference.
>
> What is this incompatibility for? This makes me i.e. change all the
> references to HTML::FillInForm->fill

Basically, I noticed that CGI::Application itself doesn't care whether a
run mode returns a string or a string reference, so I used references in
CAP::AnyTemplate in the name of "efficiency" (I know, I know - premature
optimization is the root of all evil).

I wasn't sure whether it would cause problems or not.  Since it's
causing problems, I'll make a fix tonight.


Michael


---
Michael Graham <suppressed>



---------------------------------------------------------------------
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.