[Catalyst] App::TemplateServer

Jonathan Rockway jon at jrock.us
Fri Jan 18 11:38:58 GMT 2008


On Fri, 2008-01-18 at 02:53 -0600, Jonathan Rockway wrote:
> Well, I wrote this application and it's on the CPAN as
> App::TemplateServer.  You run it like:

A few addenda:

  * perl 5.010 is required
  * the latest version is 0.04 (freshly uploaded a few minutes ago)
  * the TD provider isn't actually broken :)

Also, I tried building a PAR and it was very easy:

$ cpanp install PAR::Packer
$ pp -I lib -c                                      \
   -M App::TemplateServer::Provider::Null           \
   -M App::TemplateServer::Provider::TT             \
   -M App::TemplateServer::Provider::Mason          \
   -M App::TemplateServer::Provider::HTML::Template \
   -M App::TemplateServer::Provider::TD             \
  bin/template-server

Then you can run:

$ ./a.out --provider Null --docroot just/testing

Or similar.  PAR++!

Regards,
Jonathan Rockway

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.scsys.co.uk/pipermail/catalyst/attachments/20080118/0e41ad7d/attachment.pgp


More information about the Catalyst mailing list