Created
April 11, 2019 17:50
-
-
Save melezhik/2151efe82a18f686a3e2899810c6c52e to your computer and use it in GitHub Desktop.
sudo perl6 does not see user's perl6 lib
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
perl6 -MJSON::Tiny -e 'say $*REPO.repo-chain' | |
(inst#/home/melezhik/.perl6 inst#/opt/rakudo-pkg/share/perl6/site inst#/opt/rakudo-pkg/share/perl6/vendor inst#/opt/rakudo-pkg/share/perl6 ap# nqp# perl5#) | |
sudo env PATH=$PATH PERL6LIB=PERL6LIB=inst#/home/melezhik/.perl6 perl6 -MJSON::Tiny | |
Use of Nil in string context | |
===SORRY!=== | |
Could not find JSON::Tiny at line 1 in: | |
file#/home/melezhik/projects/sparrowdo/PERL6LIB=inst#/home/melezhik/.perl6 | |
inst#/root/.perl6 | |
inst#/opt/rakudo-pkg/share/perl6/site | |
inst#/opt/rakudo-pkg/share/perl6/vendor | |
inst#/opt/rakudo-pkg/share/perl6 | |
ap# | |
nqp# | |
perl5# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sudo env PATH=$PATH PERL6LIB=inst#/home/melezhik/.perl6 perl6 -MJSON::Tiny
did the trick!