in reply to Re: Passing variables into a subroutine
in thread Passing variables into a subroutine
Perl actually takes a reference to the array and passes that as the first argument to your sub. So don't you forget to de-reference it in your sub!
Is there a popper way to do the dereferencing, given the context?
Is there a popper way to do the dereferencing, given the context?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Passing variables into a subroutine
by CountZero (Bishop) on Sep 04, 2012 at 16:24 UTC |
In Section
Seekers of Perl Wisdom