in reply to Re: Accessing an AoHoAoH
in thread Accessing an AoHoAoH

use [ ... ] instead of ( ... )

right. It's not a simple array but a reference to a nameless array.
See also   perldoc perllol,   perldoc perlreftut,   perldoc perlref   and   perldoc perldata   for more syntactical details (the usual suspects =))

Replies are listed 'Best First'.
Re^3: Accessing an AoHoAoH
by revdiablo (Prior) on Jun 05, 2004 at 21:04 UTC
    It's not a simple array but a reference to a nameless array

    Just to be exact, it's not a "simple array" either. It's a list, which is not quite the same as an array. You can read about the differences by running perldoc -q "a list and" at a command prompt, or by viewing an online copy.