in reply to Return value from function
In most times it's better to pass references between functions, otherwise it would copy the data and if the hash or array is too big it blows your memory away. The other thing is that if you know that the function manipulate the data and you need the original then you should pass a copy.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Return value from function
by perlCrazy (Monk) on Jul 12, 2007 at 17:47 UTC |
In Section
Seekers of Perl Wisdom