in reply to Re: subroutine reference parameters
in thread subroutine reference parameters

As another way of dumping, I've been using pp() in Data::Dump lately. It gives a more compact display but basically same idea as Data::Dumper. example follows...

use warnings; use strict; use Data::Dump qw(pp); my %hash = (0 => 'a', 1 => 'b', 2 => 'c'); print '%hash=',pp(\%hash),"\n"; __END__ Prints: %hash={ "0" => "a", 1 => "b", 2 => "c" }