This creates foo local to a block including just foo and bar.{ my $bar; sub foo { ... } }
HTH, --traveler
update: fix tiny typo
In reply to Re: help with scoping (code), part 2
by traveler
in thread help with scoping (code), part 2
by deprecated
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |