On 4/4/06 Stewart Leicester wrote: >>if (! defined $phash{"D"}) >> { >> print "\$phash{D} is undefined, We expected that.\n"; >> } > > >Instead of > >defined $phash{"D"} > >use > >exists $phash{"D"}
Actually, those mean different things. Neither autovivifies, which was what Doug was seeking to understand. Both defined $phash{"D"}[3] and exists $phash{"D"}[3] autovivify $phash{"D"}. 1; - Bruce __bruce__van_allen__santa_cruz__ca__