ACCEPT_CONTEXT
- A quick recipe
- Consider:
package Some::Controller;
use base 'Catalyst::Controller';
sub foo :Action {
my ($self, $c) = @_;
$self->helper($c);
$self->another_helper($c);
...
}
sub helper { my ($self, $c) = @_; ... }
| Catalyst | Improving your Catalyst Application | #38 |
package Some::Controller;
use base 'Catalyst::Controller';
sub foo :Action {
my ($self, $c) = @_;
$self->helper($c);
$self->another_helper($c);
...
}
sub helper { my ($self, $c) = @_; ... }
| Infinity Interactive |