perlCrazy has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks,
If I want to return hash or array, should I return ref of variable or just hash or array.
Till now I always used to return Ref, just want to know is this the efficient and best way to return value from function.
From any subroutine what is the best and efficient way to return value ?
If I want to return hash or array, should I return ref of variable or just hash or array.
Till now I always used to return Ref, just want to know is this the efficient and best way to return value from function.
Back to
Seekers of Perl Wisdom