in reply to Sharing a variable between subroutines

The best way would probably be to pass the array into the subroutines as a parameter.

--
<http://www.dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg

  • Comment on Re: Sharing a variable between subroutines