I still don't understand why $flagvalue is retaining it's value when control clearly exits and reenters the parent sub....
Lexical variables don't follow the rules of dynamic scoping. They follow the rules of lexical scoping.
In reply to Re^3: Variable initialization / reinitialization
by chromatic
in thread Variable initialization / reinitialization
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |