http://www.perlmonks.org?node_id=1007739


in reply to Re: Cancel/no-op a require
in thread Cancel/no-op a require

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.