[cgiapp] Potential bug in CGI::App V 4.50
Ron Savage
ron at savage.net.au
Sun Feb 12 05:04:32 EST 2012
Hi Ron
On 12/02/12 13:52, Ron Savage wrote:
> 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?
Damn - I think I've finally understood what's going on. No problem in
the code at all.
--
Ron Savage
http://savage.net.au/
Ph: 0421 920 622
More information about the cgiapp
mailing list