in reply to Catalyst::Request::Upload inside-out-object weirdness
That kind of error occurs when one does
ormy %hash = ( 'w', x => $x, y => $y, z => $z, );
my %hash = ( w => w(), # Returns <1 or >1 elements x => $x, y => $y, z => $z, );
If so, it should give a "Odd number of elements in hash assignment" warning.
In this case, the following was assigned to the hash:
( size => 374205, \ or vice-versa type => "image/jpeg", / "charset=utf-8; Content-Transfer-Encoding: binary", XXX headers => $headers, tempname => "/tmp/5xSW7Swasp", filename => "aaa.jpg", )
In Section
Seekers of Perl Wisdom