my $cgi = CGI->new( 'a.b.c=3&a.b.c=4&x.y=4' ); # convert somehow to: my $args = { a => { b => { c => [3,4] }, x => { y => 4} };