Problems? Is your data what you think it is? | |
PerlMonks |
Re: Re: (MeowChow) Re8: Comprehending Binary :=by TheDamian (Vicar) |
on Oct 08, 2001 at 11:22 UTC ( [id://117409]=note: print w/replies, xml ) | Need Help?? |
Good guess. But wrong.
The method gets called when the binding is first done. At that point the $thresh variable is bound to the lvalue returned by the method call. Thereafter any assignment to $thresh assigns the the original lvalue, which has the effect of assigning to the result of the method call, but without the cost of the method call.
In Section
Seekers of Perl Wisdom
|
|