XP is just a number | |
PerlMonks |
Re: returning tied arrayby nobull (Friar) |
on Jan 07, 2007 at 13:54 UTC ( [id://593394]=note: print w/replies, xml ) | Need Help?? |
Another solution is to declare @array in the main program and pass a reference to &TieVariable.
You can get rid of then need for the backlash at Pos1 by giving TieVariable a prototype, but I would not recommend it.
In Section
Seekers of Perl Wisdom
|
|