You cannot test for {c}{1}'s existence without {c} existing first, and if you do test for {c}{1}'s existence when {c} itself does not yet exist, it will spring into existence so that {1} can be tested. This is one of the common pitfalls of autovivification. The obvious solution is to only check for {1} after you know {c} exists.
Dave
In reply to Re: Unexpected exists() behavior
by davido
in thread Unexpected exists() behavior
by tsmoyers
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |