Probably $sub->() is a better idiom, for the same reason to prefer prefered() to &prefered -- no accidental arg passing.
In reply to Re^2: How do I test the validity of a CODE reference?
by Your Mother
in thread How do I test the validity of a CODE reference?
by pilap
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |