|
|
| more useful options | |
| PerlMonks |
Re: Is it possible to do pass by reference in Perl?by RedDragon (Initiate) |
| on May 18, 2002 at 09:05 UTC ( [id://167483]=note: print w/replies, xml ) | Need Help?? |
|
It is possible to pass by reference in perl.
The argument list u get inside ur subroutine via @_
are implicit reference to values that were passed in from inside
from outside.i.e. if u pass in a list of strings,
inside the body of the sub,change those strings,then
they will be modified outside the subroutine.
Originally posted as a Categorized Answer.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||