in reply to Re^5: More efficient dereferencing of a subroutine return
in thread More efficient dereferencing of a subroutine return
It seems you and I read the representation of the problem differently. Your reply presumes that every return from sub is always a return of an array reference. (If that promise is made to the user of the sub, then I have no disagreement with direct dereferencing of the return value.) I think of the value returned being an array reference where possible; else, nothing or undef is returned.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^7: More efficient dereferencing of a subroutine return
by Anonymous Monk on Feb 18, 2013 at 01:03 UTC | |
by tmharish (Friar) on Feb 18, 2013 at 06:45 UTC | |
by Arunbear (Prior) on Feb 18, 2013 at 10:53 UTC | |
by tmharish (Friar) on Feb 18, 2013 at 15:44 UTC | |
by parv (Parson) on Feb 18, 2013 at 01:05 UTC | |
by parv (Parson) on Feb 18, 2013 at 01:05 UTC |
In Section
Seekers of Perl Wisdom