Subject: | Dumper function not loaded |
Date: | Wed, 6 Oct 2010 09:12:33 +0200 |
To: | bug-CGI-Application-Plugin-Routes [...] rt.cpan.org |
From: | Gabor Szabo <szabgab [...] gmail.com> |
Trying the example in the synopsis gives
Error executing run mode 'view': Undefined subroutine
&CGI::Application::Plugin::Routes::Dumper called at
/home/gabor/perl5/lib/perl5/CGI/Application/Plugin/Routes.pm line 49.
at script/cgi.pl line 44
One way to fix this is to write
return Data::Dumper::Dumper($self->{'Application::Plugin::Routes::__r_params'});
instead of
return Dumper($self->{'Application::Plugin::Routes::__r_params'});
in line 44
Gabor