I would also add that the idiom could be useful even when the function is pure, but heavy on CPU. Just as a form of self-baked cache.
Hey! Up to Dec 16, 2007 I was named frodo72, take note of the change! Flavio
perl -ple'$_=reverse' <<<ti.xittelop@oivalf
In reply to Re: What about if (my $var = foo()) { ... }
by polettix
in thread What about if (my $var = foo()) { ... }
by Limbic~Region
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |