in reply to (Ovid) Re: Sub Definitions Within Subs: Best Way to Exploit
in thread Sub Definitions Within Subs: Best Way to Exploit
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; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: (Ovid) Re: Sub Definitions Within Subs: Best Way to Exploit
by htoug (Deacon) on Oct 11, 2001 at 09:15 UTC | |
by perrin (Chancellor) on Oct 11, 2001 at 18:09 UTC | |
by htoug (Deacon) on Oct 12, 2001 at 12:33 UTC |