[Catalyst] Literal controller

A. Pagaltzis pagaltzis at gmx.de
Thu Dec 1 02:37:49 CET 2005


* Maxim Nechaev <nechaev at technodesign.ru> [2005-11-30 06:55]:
> [Wed Nov 30 15:43:18 2005] [catalyst] [debug] "GET" request for "" from "192.168.15.46"

Blind guess:

    sub start : Path( '' ) {
        my ( $self, $context ) = @_;
        $context->stash->{ template } = 'start.tmpl';
    }

Regards,
-- 
#Aristotle
*AUTOLOAD=*_;sub _{s/(.*)::(.*)/print$2,(",$\/"," ")[defined wantarray]/e;$1};
&Just->another->Perl->hacker;



More information about the Catalyst mailing list