[Catalyst] Uniform treatment of all parameters (including file uploads)

Zbigniew Lukasiak zzbbyy at gmail.com
Tue Jul 3 17:25:30 GMT 2007


I constantly bump into the mismatch in the treatment of 'normal'
params and the file uploads.

Wouldn't life be simpler if

$c->request->param( 'file_field' )

would return a Catalyst::Request::Upload object (or an array of them)?

You can get the name of the uploaded file from a
Catalyst::Request::Upload object.

-- 
Zbigniew Lukasiak
http://brudnopis.blogspot.com/



More information about the Catalyst mailing list