Any further changes to the value of $foo in the future will not change the private value that bar() now has.my $foo; sub bar { print $foo; }
In reply to Re: (Ovid) Re: Sub Definitions Within Subs: Best Way to Exploit
by perrin
in thread Sub Definitions Within Subs: Best Way to Exploit
by crazysniffable
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |