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


in reply to using "require" problem

UNIVERSAL::require is very good go-juice ... makes many annoyances go away.

Replies are listed 'Best First'.
Re^2: using "require" problem
by haukex (Archbishop) on Sep 26, 2017 at 13:24 UTC
    UNIVERSAL::require

    As I already said here: That module has a huge caveat and I wouldn't recommend it. It adds two methods to the UNIVERSAL class, the base class for all Perl classes. This means that loading this module can affect every single class and object in the program.

    I'm also not sure how it applies to the OP's question, I see nothing in its documentation regarding @INC, instead it "works exactly like Perl's require".