Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Removing entries from @INC

by Fletch (Bishop)
on Feb 24, 2022 at 14:56 UTC ( [id://11141619] : note . print w/replies, xml ) Need Help??


in reply to Removing entries from @INC

As documented in perlrun if the first character of the library name after -M / -m is a dash the use is treated as no instead: perl -M-lib=/TO/REMOVE ...

The cake is a lie.
The cake is a lie.
The cake is a lie.

Replies are listed 'Best First'.
Re^2: Removing entries from @INC
by perlancar (Hermit) on Feb 25, 2022 at 01:12 UTC
    Thanks! Now that you pointed it out, I vaguely remember reading about this years ago.