perl.macperl...Re: MacPerl how to grow a hash of hashes by Ronald J Kimball- July 30, 2005 On Sat, Jul 30, 2005 at 06:41:35PM +0200, Louis Pouzin wrote:> It is trivial to grow a hash within a hash, e.g.> $H$ipnggovnigeriawww=&39;&39;;> $H$ipnggovnigeriaoil=&39;&39;;> > but I don&39;t know a way to grow a hash within an array, such as:> > $H$ip0$nam4=&39;&39;; or> $H$ip0=$nam4,&39;&39;;> > Both constructions erase all previous keys in the hash. Is there another way The second one replaces the entire hash, of course, but the first one worksfine. Why do...http://www.nntp.perl.org/group/perl.macperl/2005/07/msg3066.html |