TOC | Index | (Page 17 of 41)| Chapter: Print Statements | Gabor Szabo
<< Simple Array Simple Hash >>

2.4 Complex Array


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

print STDERR "@a\n";

first second ARRAY(0x8131610)  HASH(0x8197dc0)

print STDERR "Debug: |", join "|", @a, "\n";

Debug: |first|second|ARRAY(0x8133ec4)||HASH(0x81988dc)|