TOC | Index | (Page 20 of 41)| Chapter: Print Statements | Gabor Szabo
<< Complex Hash Data::Dumper for hash >>

2.7 Data::Dumper


use Data::Dumper;

$s = 23;
@a = ('first', 'second',
      ['second dimension', 'more value in 2nd dimension', undef, 'jump'],
      undef,
      {  a => 'a value',
         b => 'b value',
      },
     );


print STDERR Dumper $s;

$VAR1 = 23;

print STDERR Dumper \@a;

$VAR1 = [
          'first',
          'second',
          [
            'second dimension',
            'more value in 2nd dimension',
            undef,
            'jump'
          ],
          undef,
          {
            'a' => 'a value',
            'b' => 'b value'
          }
        ];