[cgiapp] Potential bug in CGI::App V 4.50

Ron Savage ron at savage.net.au
Sat Feb 11 21:52:43 EST 2012


Hi Folks

The docs for CGI::App V 4.50, for the mode_param() method,

https://metacpan.org/module/CGI::Application#mode_param-

refer to

$webapp->mode_param(
        path_info=> 1,
        param =>'rm'
);

as the last of 3 cases. But the code, line 98, says:

$rm = $rm_param->{run_mode};

which suggests that mode_param can take a hash with one key having the 
value of 'run_mode' rather than 'param'.

Surely the docs are in error here?

-- 
Ron Savage
http://savage.net.au/
Ph: 0421 920 622


More information about the cgiapp mailing list