use Data::Dumper; sub print_out { my $self = shift; my %errors = %{$self->{data}{errors}}; print '
'.Dumper(\%errors).'