in reply to Re^2: "Installed" Perl 5.34 , sort of
in thread "Installed" Perl 5.34 , sort of
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
— Ken
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: "Installed" Perl 5.34 , sort of
by misterperl (Pilgrim) on May 20, 2022 at 13:35 UTC | |
by kcott (Archbishop) on May 21, 2022 at 04:53 UTC | |
Re^4: "Installed" Perl 5.34 , sort of
by misterperl (Pilgrim) on May 20, 2022 at 14:59 UTC | |
by hippo (Bishop) on May 20, 2022 at 15:16 UTC | |
by kcott (Archbishop) on May 21, 2022 at 05:16 UTC |
In Section
Seekers of Perl Wisdom