If the extra directories have been compiled into your copy of perl itself then it's not so easy.
I think it's pretty easy - the perlbrew installs on my machine only have four entries in @INC, and building a copy of Perl without perlbrew is pretty easy too.
$ wget https://www.cpan.org/src/5.0/perl-5.32.0.tar.xz
$ tar -xaf perl-5.32.0.tar.xz
$ cd perl-5.32.0
$ sh Configure -de -Dprefix=/opt/perl5.32
$ make -j4
$ TEST_JOBS=4 make test_harness
$ make install
$ /opt/perl5.32/bin/perl -le 'print for @INC'
/opt/perl5.32/lib/site_perl/5.32.0/x86_64-linux
/opt/perl5.32/lib/site_perl/5.32.0
/opt/perl5.32/lib/5.32.0/x86_64-linux
/opt/perl5.32/lib/5.32.0
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|