Last active
December 14, 2015 21:39
-
-
Save usev6/480ef340281ab3fb8df2 to your computer and use it in GitHub Desktop.
missing '.' in $*REPO
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
1: $*REPO contains '.' and 'lib' | |
$ ./perl6-m -e 'use lib <. lib>; say $*REPO.repo-chain.map(*.Str).join("\n").indent(4)' | |
/p6dir/lib | |
/p6dir | |
/home/christian/.perl6/2015.11-550-g9e53fa9 | |
/p6dir/install/share/perl6/site | |
/p6dir/install/share/perl6/vendor | |
/p6dir/install/share/perl6 | |
CompUnit::Repository::NQP<140600819436888> | |
CompUnit::Repository::Perl5<140600819434520> | |
2: $*REPO contains 'lib' -- but not '.' | |
$ ./perl6-m -Ilib -e 'use lib <. lib>; say $*REPO.repo-chain.map(*.Str).join("\n").indent(4)' | |
/p6dir/lib | |
/home/christian/.perl6/2015.11-550-g9e53fa9 | |
/p6dir/install/share/perl6/site | |
/p6dir/install/share/perl6/vendor | |
/p6dir/install/share/perl6 | |
CompUnit::Repository::NQP<140486179291368> | |
CompUnit::Repository::Perl5<140486179289000> | |
3: $*REPO contains 'lib', '.' and 'foobar' | |
$ ./perl6-m -Ifoobar -e 'use lib <. lib>; say $*REPO.repo-chain.map(*.Str).join("\n").indent(4)' | |
/p6dir/lib | |
/p6dir | |
/p6dir/foobar | |
/home/christian/.perl6/2015.11-550-g9e53fa9 | |
/p6dir/install/share/perl6/site | |
/p6dir/install/share/perl6/vendor | |
/p6dir/install/share/perl6 | |
CompUnit::Repository::NQP<140672153235688> | |
CompUnit::Repository::Perl5<140672153233320> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment