Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: using "require" problem

by Anonymous Monk
on Sep 26, 2017 at 13:07 UTC ( #1200110=note: print w/replies, xml ) Need Help??

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 (Abbot) on Sep 26, 2017 at 13:24 UTC

    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".

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1200110]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (10)
As of 2018-07-16 15:00 GMT
Find Nodes?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?

    Results (342 votes). Check out past polls.