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
In reply to Re: Re: optimization - exists should return a reference
by John M. Dlugosz
in thread optimization - exists should return a reference
by John M. Dlugosz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |