On Thu, Mar 4, 2010 at 8:17 AM, Mike Tonks <[email protected]> wrote: >> 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' }; >
Thanks for confirming this. So, there is at least one problem with CAPRoutes. In my case, even though the error goes away when I change 'require' to 'use', I get no dump at all. That is because either nothing matches, or something else screwy happens. -- Puneet Kishor http://www.punkish.org Carbon Model http://carbonmodel.org Charter Member, Open Source Geospatial Foundation http://www.osgeo.org Science Commons Fellow, http://sciencecommons.org/about/whoweare/kishor Nelson Institute, UW-Madison http://www.nelson.wisc.edu ----------------------------------------------------------------------- Assertions are politics; backing up assertions with evidence is science ======================================================================= ##### CGI::Application community mailing list ################ ## ## ## To unsubscribe, or change your message delivery options, ## ## visit: http://www.erlbaum.net/mailman/listinfo/cgiapp ## ## ## ## Web archive: http://www.erlbaum.net/pipermail/cgiapp/ ## ## Wiki: http://cgiapp.erlbaum.net/ ## ## ## ################################################################
