[Catalyst] App::TemplateServer

Ashley apv at sedition.com
Fri Jan 18 18:03:32 GMT 2008


This rules, Jonathan.

>   * perl 5.010 is required

This kinda sucks. I know it's ridiculous but some places I've worked  
in the
last couple years still had 5.6 and where I'm working now probably won't
have 5.10 anytime soon.

On Jan 18, 2008, at 3:38 AM, Jonathan Rockway wrote:
> 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
>
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/ 
> catalyst at lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/




More information about the Catalyst mailing list