TOC | Index | (Page 19 of 41)| Chapter: Print Statements | Gabor Szabo
<< Simple Hash Data::Dumper >>

2.6 Complex Hash


%h = (
      first => 15,
      second => '2nd',
      array => [qw(one two three)],
     );

print STDERR "Debug: "; 
print STDERR "$_=>$h{$_}|" foreach keys %h;
print STDERR "\n";

Debug: array=>ARRAY(0x8198b34)|first=>15|second=>2nd|