in reply to Re: hash slice ? No thanks, I'm about to return...
in thread hash slice ? No thanks, I'm about to return...
Or just a "%return" - return is optional. Either way, make the return value explicit, rather than relying on a complex operation to do it, whether you make the fact you're returning explicit or not.
(I did some benchmarks a while back which surprised me to find out that "return %hash" was actually slower than "%hash" and falling out the bottom of the function...)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: hash slice ? No thanks, I'm about to return...
by lidden (Curate) on Feb 19, 2005 at 17:11 UTC | |
by Anonymous Monk on Feb 19, 2005 at 20:54 UTC | |
Re^3: hash slice ? No thanks, I'm about to return...
by Aristotle (Chancellor) on Feb 19, 2005 at 16:59 UTC |