No. Declare your variable globally so that it is visible to both subroutines:
my @array = (1,2,3); sub a { ... }; sub b { ... };
In reply to Re: Accessing values outside subroutine
by Corion
in thread Accessing values outside subroutine
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |