develooper Front page | perl.libwww | Postings from April 2001

Re: How do I build a associative array from a dyanamic list

Thread Previous
From:
John Stracke
Date:
April 11, 2001 12:41
Subject:
Re: How do I build a associative array from a dyanamic list
Message ID:
3AD4B529.B2DDD8C1@ecal.com
"Michael A. Chase" wrote:

> > That should be $hash{'a'}->{'b'}.  A hash cannot contain other hashes, it
> can
> > only contain scalars (such as references).
>
> That's exactly what $hash{'a'}{'b'} is, the '->' in $hash{'a'}->{'b'},  may
> be omitted.

Oh, you're right.

There's Too Many Ways To Do It.  :-)

--
/================================================================\
|John Stracke    | http://www.ecal.com |My opinions are my own.  |
|Chief Scientist |===============================================|
|eCal Corp.      |"Where's your sense of adventure?" "In front of|
|francis@ecal.com|a roaring fire with a cup of cocoa."           |
\================================================================/




Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About