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

#####  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/                 ##
##                                                            ##
################################################################

Reply via email to