unshift(@INC, "$_/$archname") if -d "$_/$archname/auto";
unshift(@INC, "$_/$archname/$]") if -d "$_/$archname/$]/auto";
}
- # remove trailing duplicates
- @INC = grep { ++$names{$_} == 1 } @INC;
}
+
+ # remove trailing duplicates
+ @INC = grep { ++$names{$_} == 1 } @INC;
+ return;
}
# Remove ALL instances of each named directory.
@INC = grep { !exists $names{$_} } @INC;
+ return;
}
1;