No problem, It does provoke a random question though: If you overload a short-circuited operator, does it still short-circuit? I mean if the result of an intermediate operation returned a false value, would the whole expression end up false?
perl -e 'print sub { "Hello @{[shift->()]}!\n" }->(sub{"World"})'
In reply to Re^4: Functional Composition
by billh
in thread Functional Composition
by billh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |