in reply to array refs, hashes, and confusion

$array holds an anonymous array ref... @{$array} derefs $array allow you to push an anonymous hash onto said anonymous array, you would access key2 in your example with
$array->[0]{key2};
That help?

                - Ant

Replies are listed 'Best First'.
Re: Re: array refs, hashes, and confusion
by daemonchild (Acolyte) on Aug 03, 2001 at 01:23 UTC
    wow!

    i come back from my lunch break, and my question is answered ... i'm impressed.

    that worked perfectly ... many thanks

    -- steve