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


in reply to Re^2: pass a hash to subroutine
in thread pass a hash to subroutine

But once more, if i want pass 2 or more hashes to subroutine, is it the same?
It was already in my answer, (although I minimally updated it silently for added clarity). Minimal example using a prototype:
#!/usr/bin/perl use strict; use warnings; use Data::Dumper; sub foo (\%\%) { Dumper @_; } my %a=(foo => 1, bar =>2); my %b=(%a, bax => 3); print foo %a, %b; __END__