http://www.perlmonks.org?node_id=11112826


in reply to How to loop through Plack::Request body_parameters ?

Still learning how to do perl with plack.

Why? Plack::App::WrapCGI?

perldoc Hash::MultiValue

#!/usr/bin/perl -- use strict; use warnings; use Data::Dump qw/ dd /; use Hash::MultiValue; my $hash = Hash::MultiValue->from_mixed({ foo => [ 'a', 'b' ], bar => 'c', }); dd( $hash->as_hashref_mixed ); dd( $hash->as_hashref ); dd( %$hash ); __END__ { bar => "c", foo => ["a", "b"] } { bar => "c", foo => "b" } ("bar", "c", "foo", "b")

references quick reference

Modern Perl Ctrl+F "dereference" .. http://modernperlbooks.com/books/modern_perl_2016/03-perl-language.html#SGFzaFJlZmVyZW5jZXM