The best way would probably be to pass the array into the subroutines as a parameter.
--"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In reply to Re: Sharing a variable between subroutines
by davorg
in thread Sharing a variable between subroutines
by professa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |