Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
add a default to @inc
  • Loading branch information
FROGGS committed May 15, 2013
1 parent d9849d7 commit a88e1a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Perl5.nqp
Expand Up @@ -25,6 +25,7 @@ sub EXPORT(*@a) {
my %INC := $INC.FLATTENABLE_HASH();
unless nqp::existskey(%INC, 'Perl5') {
%INC<Perl5> := $*W.find_symbol(['Array']).new;
%INC<Perl5>.unshift: $*W.p6ize_recursive( %INC<perl> ~ '/lib/Perl5');
my $PERL5LIB := nqp::atkey(nqp::getenvhash(), 'PERL5LIB');
if nqp::defined($PERL5LIB) {
%INC<Perl5>.unshift: $*W.p6ize_recursive( nqp::split(':', $PERL5LIB) )
Expand Down

0 comments on commit a88e1a0

Please sign in to comment.