KW.pm The Schwartzian Transform #13

Looking closer:

        @split = map { [ split ] }  @names;
  • If @names = ("Howdy Doody", "Fred Rogers", "Oingo Boingo")

  • @split is an array containing three references to arrays:

          0  ARRAY(0x82acadc)
             0  'Howdy'
             1  'Doody'
          1  ARRAY(0x8389bfc)
             0  'Fred'
             1  'Rogers'
          2  ARRAY(0x8389b90)
             0  'Oingo'
             1  'Boingo'

 

<< Previous | Index | Next >> Copyright © 2003 Daniel Allen