in reply to Re: Re: subroutines!!!
in thread Problem while refactoring code into a subroutine (was: subroutines!!!)

You do exactly the same thing. The values you get back will be array references so you access the elements using the -> syntax.

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

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