first is pure-Perl and does not have short-circuiting behaviour.
And if you look at the the source just before the pure perl reduce definition we find:
eval <<'ESQ' unless defined &reduce; # This code is only compiled if the XS did not load
:-)
So the reduce() in question may, or may not, be pure perl.
In reply to Re^12: Specializing Functions with Currying
by adrianh
in thread Specializing Functions with Currying
by FoxtrotUniform
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |