Hello,
I was trying to use auto and begin in 2 Controllers, Root.pm and Admin.pm:
package MyApp::Controller::Root;
sub begin :Private {
my ($self, $c) = @_;
$c->log->debug('root begin');
}
sub auto :Private {
my ($self, $c) = @_;
$c->log->debug('root auto');
}
[...]
package MyApp::Controller::Admin;
sub begin :Private {
my ($self, $c) = @_;
$c->log->debug('admin begin');
}
sub auto :Private {
my ($self, $c) = @_;
$c->log->debug('admin auto');
}
Whether I access / or /admin, I don't see any log from any of the auto
functions, but I do see it from the begin fuctions. I am wondering
what I am missing.
Thank you
Julien
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/