Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^7: @INC not reflecting correctly

by haj (Vicar)
on Aug 28, 2021 at 09:55 UTC ( [id://11136159]=note: print w/replies, xml ) Need Help??


in reply to Re^6: @INC not reflecting correctly
in thread @INC not reflecting correctly

It's quite easy to change %Config values - and the same method works on all systems. Just create a file named (say) New_Config.pm:
You should be aware that changing paths in Config.pm has no effect on @INC. The point of the hack in ExtUtils::FakeConfig is to fool other programs about how this Perl has been built. Other programs use Config and act accordingly. For Perl itself it is just a report written at build time, the Perl executable does not read it (unless you start with perl -d as the debugger does use it).

Replies are listed 'Best First'.
Re^8: @INC not reflecting correctly
by syphilis (Archbishop) on Aug 28, 2021 at 12:51 UTC
    You should be aware that changing paths in Config.pm has no effect on @INC

    If I've said anything that implies that I was unaware of that then I've done myself a great disservice.

    Cheers,
    Rob

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11136159]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-04-19 02:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found