in reply to Re: exists on hash autovivifies right?
in thread exists on hash autovivifies right?

I noticed that from the first example, and my memory of auto-vivification did fade a little. you said "exists would always return true if it autovivified the element being tested", well not entirely true, depends on sequence of events, but that's meaningless argue any way. thanks for taking your time.
  • Comment on Re^2: exists on hash autovivifies right?

Replies are listed 'Best First'.
Re^3: exists on hash autovivifies right?
by GrandFather (Saint) on Jun 28, 2008 at 23:41 UTC

    If it tested first but autovivified anyway it'd have to be named 'existed' because having made the test you would know that it exists. ;)


    Perl is environmentally friendly - it saves trees
      any way, the best answer is the exists does not autovivify but -> does, I buy that, so this empty argument stops here.