App-rlibperl
view release on metacpan or search on metacpan
bin/rbinperl view on Meta::CPAN
use File::Spec::Functions qw( catdir catpath splitdir splitpath ); # core
use Config; # core
# __FILE__ can be relative, use FindBin to make sure we get enough path to go up
# FindBin::Bin is a dir, so set $no_file to true for reliability
my ($vol, $dirs, $file) = splitpath($FindBin::Bin, 1);
my @base = splitdir($dirs);
my @inc;
# this looks more complicated than it really is
my $bin = pop @base;
# ./lib
my @sets = [ [$bin, qw(lib)] ];
# local::lib uses ../lib/perl5
my $local_lib = [
[qw(lib perl5)],
];
bin/rlibperl view on Meta::CPAN
use File::Spec::Functions qw( catdir catpath splitdir splitpath ); # core
use Config; # core
# __FILE__ can be relative, use FindBin to make sure we get enough path to go up
# FindBin::Bin is a dir, so set $no_file to true for reliability
my ($vol, $dirs, $file) = splitpath($FindBin::Bin, 1);
my @base = splitdir($dirs);
my @inc;
# this looks more complicated than it really is
my $bin = pop @base;
# ./lib
my @sets = [ [$bin, qw(lib)] ];
# local::lib uses ../lib/perl5
my $local_lib = [
[qw(lib perl5)],
];
corpus/generate_scripts.pl view on Meta::CPAN
use File::Spec::Functions qw( catdir catpath splitdir splitpath ); # core
use Config; # core
# __FILE__ can be relative, use FindBin to make sure we get enough path to go up
# FindBin::Bin is a dir, so set $no_file to true for reliability
my ($vol, $dirs, $file) = splitpath($FindBin::Bin, 1);
my @base = splitdir($dirs);
my @inc;
# this looks more complicated than it really is
my $bin = pop @base;
# ./lib
my @sets = [ [$bin, qw(lib)] ];
# local::lib uses ../lib/perl5
my $local_lib = [
[qw(lib perl5)],
];
( run in 0.409 second using v1.01-cache-2.11-cpan-64827b87656 )