Ah, so this particular sentence in perlfunc is the one that gets me confused: The subroutine should return either nothing or else a list of up to three values in the following order.
So instead of returning (undef, sub{...}) I should've just returned (sub {...}).
Thanks, Toby.
In reply to Re^2: Cancel/no-op a require
by sedusedan
in thread Cancel/no-op a require
by sedusedan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |