[Catalyst] Re: Catalyst vs Rails vs Django Cook off

Jonathan Rockway jon at jrock.us
Thu Jan 18 18:30:29 GMT 2007



A. Pagaltzis wrote:
> Are we done splitting this hair now or do you need more
> clarification?

Depends on what you mean by "methods":

foo.pl:
use MyApp;
print MyApp->foo($ENV{QUERY_STRING});

bar.pl:
use MyApp;
print MyApp->bar($ENV{QUERY_STRING});

I don't think this is a good idea, but you can do it if you want to.

"can" and "good idea" is the hair that I'm splitting.

-- 
package JAPH;use Catalyst qw/-Debug/;($;=JAPH)->config(name => do {
$,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split //,
";$;"]->[$_].q; ;for 1..4;$,=~s;^.;;;$,});$;->setup;



More information about the Catalyst mailing list