Skip to content

Instantly share code, notes, and snippets.

@retupmoca
Last active December 2, 2015 15:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save retupmoca/01d09301ac7fc3fd2013 to your computer and use it in GitHub Desktop.
Save retupmoca/01d09301ac7fc3fd2013 to your computer and use it in GitHub Desktop.
PERL6LIB doesn't like listing already existing repo paths (in powershell)
> perl6 -e 'my $t = $*REPO; while $t { say $t; $t .= next-repo }'
inst#C:\Users\Andrew\.perl6\2015.11-311-gf94c31e
inst#C:\users\andrew\development\p6bin\share\perl6\site
inst#C:\users\andrew\development\p6bin\share\perl6\vendor
inst#C:\users\andrew\development\p6bin\share\perl6
> $env:PERL6LIB = "file#a,file#b"
> perl6 -e 'my $t = $*REPO; while $t { say $t; $t .= next-repo }'
file#C:\Users\Andrew\Development\rakudo\a
file#C:\Users\Andrew\Development\rakudo\b
inst#C:\Users\Andrew\.perl6\2015.11-311-gf94c31e
inst#C:\users\andrew\development\p6bin\share\perl6\site
inst#C:\users\andrew\development\p6bin\share\perl6\vendor
inst#C:\users\andrew\development\p6bin\share\perl6
> $env:PERL6LIB = "inst#C:\users\andrew\development\p6bin\share\perl6\vendor,file#a,file#b"
> perl6 -e 'my $t = $*REPO; while $t { say $t; $t .= next-repo }'
inst#C:\users\andrew\development\p6bin\share\perl6\vendor
inst#C:\users\andrew\development\p6bin\share\perl6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment