in reply to Re: optimization - exists should return a reference
in thread optimization - exists should return a reference
So, to not evaluate the dereference twice, it's necessary to not write it twice. That's what led to this idea. I think it's consistant with other things in Perl such as how logical || returns the value rather than meer truth.
—John
|
|---|