You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello all. I installed Perlbrew to try it out using Perl modules without admin rights. My machine is Linux EOS. When I run a simple perl script it gives error Cant locate Modern/Perl.pm in @inc. How do I make Emacs know that I am using perlbrew and not system Perl? Or how do add the perlbrew PATH to global @inc? I also have setup Devel::PerlySense inside Emacs following the module documentation. I installed some modules using cpanm client. I'm new to Perl and Emacs and sometimes I'm lost n doesnt know what I'm doing lol :-) Appreciate your pointing me to the right direction. Below are some log details:
=======
Can't locate Modern/Perl.pm in u/INC (you may need to install the Modern::Perl module) (@inc entries checked: /usr/lib/perl5/5.38/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.38/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.38/core_perl /usr/share/perl5/core_perl) at ./read_input_stdin line 4.
BEGIN failed--compilation aborted at ./read_input_stdin line 4.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello all. I installed Perlbrew to try it out using Perl modules without admin rights. My machine is Linux EOS. When I run a simple perl script it gives error Cant locate Modern/Perl.pm in @inc. How do I make Emacs know that I am using perlbrew and not system Perl? Or how do add the perlbrew PATH to global @inc? I also have setup Devel::PerlySense inside Emacs following the module documentation. I installed some modules using cpanm client. I'm new to Perl and Emacs and sometimes I'm lost n doesnt know what I'm doing lol :-) Appreciate your pointing me to the right direction. Below are some log details:
=======
Can't locate Modern/Perl.pm in u/INC (you may need to install the Modern::Perl module) (@inc entries checked: /usr/lib/perl5/5.38/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.38/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.38/core_perl /usr/share/perl5/core_perl) at ./read_input_stdin line 4.
BEGIN failed--compilation aborted at ./read_input_stdin line 4.
❯ perlbrew info
Current perl:
Name: perl-blead
Path: /home/user/perl5/perlbrew/perls/perl-blead/bin/perl
Config: -de -Dprefix=/home/user/perl5/perlbrew/perls/perl-blead -Dusedevel -Aeval:scriptdir=/home/user/perl5/perlbrew/perls/perl-blead/bin
Compiled at: Jul 6 2024 10:50:31
perlbrew:
version: 0.98
ENV:
PERLBREW_ROOT: /home/user/perl5/perlbrew
PERLBREW_HOME: /home/user/.perlbrew
PERLBREW_PATH: /home/user/perl5/perlbrew/bin:/home/user/perl5/perlbrew/perls/perl-blead/bin
PERLBREW_MANPATH: /home/user/perl5/perlbrew/perls/perl-blead/man
❯ perl --version
This is perl 5, version 41, subversion 2 (v5.41.2 (c5df4fd1012cc64d1b3e19c87bf8c51d4f3f90d6)) built for x86_64-linux
❯ perlbrew list-modules | grep modern
Modern::Perl
Beta Was this translation helpful? Give feedback.
All reactions