From: dagbrown@... (Dave Brown) Date: 2003-10-04T10:52:51+09:00 Subject: Re: hash of hashes In article <200310031434.31907.argentoff@rtelekom.ru>, Paul Argentoff wrote: : On Friday 03 October 2003 14:04, Paul Argentoff wrote: : : > How can I create $Subject for future population? : : Let's put it this way: I need to create a nested hash which will be populated : later by referencing the keys in the subhashes. How can I do this? You mean, er, irb(main):001:0> a=Hash.new({}) => {} irb(main):002:0> a['foo'] => {} ? --Dave -- $@=q$!???@!!?@!!!@?*!?@?!@???@?@!!!!@!@!?!*!??!@!@!?!@!?!!*!!!!@!?@?!?!@?!?@!@ !?!$;@*=split//,qq%k842<.6.5)*\$0:/3+&k1p\0137"#>9!,%^"[]@"x10;$!=!($?=0);for$* (split//,$@){if($*ne'!'&&$*ne"?"){print$!?uc($*[$?]):$*[$?]if$*[$?];$?=!($!=0) ==0}else{$?*=2;$?++;$?++if$*eq'?';}print(pack(c,32))if$*eq'*';}print"$*[$?],\n"