Paul Lalli wrote:
So define the subroutine in the same scope as the array.  Move the
subroutine into the if-statement as well.

Huh?

Please speak Perl.

Subroutines are global.  Unless they're anonymous.  And even then, they are.  
It's just difficult to get a hold on them.


--
Just my 0.00000002 million dollars worth,
 Shawn

"For the things we have to learn before we can do them, we learn by doing them."
 Aristotle

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to