On Tuesday 23 July 2002 08:27 am, Ashley Winters wrote: > push @foo, 'This would change the hash key for @foo?'; > > print "ok 1" if exists %hash{ [] }; > print "ok 2" if exists %hash{ [10] };
Err, I meant: print "ok 2" if exists %hash{ ['This would change the hash key for @foo?'] }; Also, the same question would apply if I simply changed the value of an element in @foo instead of changing the number of elements.