in reply to Variable Scope
See the state feature from Perl 5.10 onward for similar "static variable" behavior that is well-defined.
Give a man a fish: <%-{-{-{-<