Catalyst Improving your Catalyst Application #30

And the Controller

sub action :Whatever {
    my ($self, $c) = @_;
    $c->model('WeirdLogic')->frobnicate($c->req->params->{foo});
}
Infinity Interactive