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

RE: [cgiapp] Overload of load_tmpl proposed


-----Original Message-----
From: David Scott [mailto:suppressed 
Sent: Thursday, April 15, 2004 9:55 PM
To: cgiapp list
Subject: [cgiapp] Overload of load_tmpl proposed

> Here is an overload example which keeps the old API in
> place but just passes all parameters through if it is
> an even number allowing full HTML::Template
> functionality to be used -- why not, since it has to
> be installed anyway?
> [...]

I use directly HTML::Template->new (or HTML::Template->new_scalar_ref)
from inside my CGI::A apps now, but I think your solution is very
elegant, and represents a very good example of the load_tmpl enhancement
I hoped for.

Cheers,
Emanuele.





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