[cgiapp] C::A::P::Routes

Mike Tonks fluffymike at googlemail.com
Thu Mar 4 09:17:21 EST 2010


> By the way, could you please check if $self->route_dbg works for you?

Exactly as you reported, I get an error:

Error executing run mode 'view': Undefined subroutine
&CGI::Application::Plugin::Routes::Dumper called at
/usr/local/share/perl/5.10.0/CGI/Application/Plugin/Routes.pm line
49.,


When I changed 'require' to 'use', it works ok:

$VAR1 = { 'rule_matched: ' => '/([^/]*)', 'parsed_params: ' => { 'id'
=> '16285' }, 'path_received: ' => '/16285', 'runmode: ' => 'view' };


More information about the cgiapp mailing list