[Catalyst] Re: Feature Request: Parameter Junctions

Carl Franks fireartist at gmail.com
Thu Oct 30 08:50:24 GMT 2008

2008/10/30 Oleg Kostyuk <cub.uanic at gmail.com>:
> 2008/10/22 Aristotle Pagaltzis <pagaltzis at gmx.de>:
>> I outlined a proposal a long time ago of two different methods
>> like the current `param`, one which always returned a single
>> value (the last one if there are multiple) and one which always
>> returned an arrayref. Then there could be no confusion and code
>> would always get exactly what it was written to expect. Matt
>> agreed but punted to volunteers, and none stepped up, me
>> included, so it has yet to happen.
> Could you please give link to your original thread ?

I can't remember where the original discussion was, but it was based
on that, that I added param_value(), param_array() and param_list() to
HTML::FormFu [1], based on Matt's suggestions.

It'd be good if any new methods added to Catalyst::Request could use
the same method names.

[1] http://search.cpan.org/~cfranks/HTML-FormFu-0.03005/lib/HTML/FormFu.pm#param_value


More information about the Catalyst mailing list