FAQ
Hi,
I wondered if anyone could point me towards a working example of
creating custom action attribute handlers for Catalyst?

eg. The contents of Catalyst::Controller::SecretAgent in the example below:


package MyApp::Controller::M;
use parent 'Catalyst::Controller::SecretAgent';
# Provides Vehicle() and Gimmick() actions.

sub bond : Vehicle('Aston Martin') {
my ($self, $c) = @_;
# ...
}

sub maxwell_smart : Gimmick('Shoe-phone') {
My ($self, $c) = @_;
#...
}

1;

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcatalyst @
categoriescatalyst, perl
postedJul 13, '09 at 5:35a
activeJul 14, '09 at 6:46a
posts7
users3
websitecatalystframework.org
irc#catalyst

People

Translate

site design / logo © 2022 Grokbase