use Data::Dumper; # simple procedural interface print Dumper($foo, $bar);