*$SUB = sub { variableMaxText($j); };
And you're done. This will create a closure, ie a subroutine that's "closed" over $j.
In reply to Re: Global vs. local?
by moritz
in thread Global vs. local?
by jpavel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |