>>>>> "gl" == greg london <[EMAIL PROTECTED]> writes:

  gl> exists($userlist->{PaulSmith}->{Age})

  gl> should:

  gl> 1) return false if either PaulSmith or Age
  gl> does not exist

  gl> 2) should NOT autovivify PaulSmith to
  gl> find out that he doesn't have an Age

  gl> Autovivify should turn off during exists() tests

see my article on autivivification at:

        http://www.sysarch.com/perl/tutorials/autoviv.txt

there is a sub in there that does what you want.

  gl> just my opinion

it will in perl6

uri

-- 
Uri Guttman  ------  [EMAIL PROTECTED]  -------- http://www.stemsystems.com
--Perl Consulting, Stem Development, Systems Architecture, Design and Coding-
Search or Offer Perl Jobs  ----------------------------  http://jobs.perl.org
_______________________________________________
Boston-pm mailing list
[EMAIL PROTECTED]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to