[Catalyst] JSAN and Catalyst

Kenny Gatdula kennyg at pobox.com
Sun Oct 30 23:25:50 CET 2005


I had a thought the other day that it would cool to be able to use the
libraries that are being added to www.openjsan.org. And it was easier
that I thought.


#!/usr/bin/env perl

use Cwd;
my $dir = getcwd;
my $prefix = $dir . '/../root/static/js';
system("jsan", "--prefix=$prefix");

If others think this is useful, I'd be happy to submit a patch to
Catalyst/Helper.pm to autogenerate [% appprefix %]_jsan.pl.

Kenny



More information about the Catalyst mailing list