[Catalyst] More PAR goodness :)

Sebastian Riedel sri at oook.de
Thu Nov 24 00:14:34 CET 2005


Ok, yet another PAR related update, and this one is very cool.

The example has been updated.

     http://files.oook.de/myapp-osx


sri at odyssey:~/ > ./myapp-osx
Usage:
     [parl] myapp[.par] [script] [arguments]

   Examples:
     parl myapp.par myapp_server.pl -r
     myapp myapp_cgi.pl

   Available scripts:
     myapp_cgi.pl
     myapp_create.pl
     myapp_fastcgi.pl
     myapp_server.pl
     myapp_test.pl


Yes, you can now run all scripts!
To build your own just update to trunk and follow these steps.  
(catalyst_par_script() is gone)


1. catalyst.pl MyApp

2. Add these lines to Makefile.PL

     catalyst_par_core();
     catalyst_par();

3. perl Makefile.PL; make test; perl Makefile.PL

4. pp -o myapp myapp.par

5. Enjoy your very own myapp binary!


--
sebastian




More information about the Catalyst mailing list