I don't have // in any of my @INC paths:
$ perl -E 'say for @INC'
/home/ken/perl5/perlbrew/perls/perl-5.34.0/lib/site_perl/5.34.0/cygwin
+-thread-multi
/home/ken/perl5/perlbrew/perls/perl-5.34.0/lib/site_perl/5.34.0
/home/ken/perl5/perlbrew/perls/perl-5.34.0/lib/5.34.0/cygwin-thread-mu
+lti
/home/ken/perl5/perlbrew/perls/perl-5.34.0/lib/5.34.0
I suspect you may have done something in your installation which caused this;
however, without knowing the steps you took, I don't know what that might have been.
Do note the differences between your /opt/local/perl5//lib/site_perl/5/34/1
and my /home/ken/perl5/perlbrew/perls/perl-5.34.0/lib/site_perl/5.34.0:
-
At the start: you have /opt/local; I have /home/ken.
-
In the middle: you have //; I have /perlbrew/perls/perl-5.34.0/.
-
At the end: you have /5/34/1; I have /5.34.0.
There are potentially a number of things you may need to change.
Having // in a path is not a problem in itself:
x/y and x//y are effectively the same.
$ ls -al x/y
ls: cannot access 'x/y': No such file or directory
$ mkdir -p x/y
$ cd x//y
$ pwd
/home/ken/tmp/x/y
$ cd ../..
$ pwd
/home/ken/tmp
$ cd x/y
$ pwd
/home/ken/tmp/x/y
$ cd ../..
$ pwd
/home/ken/tmp
-
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.
|