App-pathed
view release on metacpan or search on metacpan
"xt",
"inc",
"share",
"eg",
"examples"
]
},
"prereqs" : {
"build" : {
"requires" : {
"Test::Differences" : "0",
"Test::More" : "0"
}
},
"configure" : {
"requires" : {
"Module::Build::Tiny" : "0.027"
}
},
"develop" : {
"requires" : {
---
abstract: 'munge the Bash PATH environment variable'
author:
- 'The following person is the author of all the files provided in this'
build_requires:
Test::Differences: 0
Test::More: 0
configure_requires:
Module::Build::Tiny: 0.027
dynamic_config: 0
generated_by: 'Dist::Milla version v1.0.4, Dist::Zilla version 4.300038, CPAN::Meta::Converter version 2.132510'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
name: App-pathed
requires 'Getopt::Long';
requires 'Pod::Find';
requires 'Pod::Usage';
on build => sub {
requires 'Test::Differences';
requires 'Test::More';
};
t/options.t view on Meta::CPAN
use strict;
use warnings;
use App::pathed;
use Test::More;
use Test::Differences;
sub check {
my ($path, $opt, $expect, $test_name) = @_;
my @result = App::pathed::process($path, $opt);
eq_or_diff \@result, $expect, $test_name;
}
my $path =
'/Users/marcel/.rbenv/shims:/Users/marcel/bin:/usr/bin:/bin:/usr/sbin:/sbin';
check(
$path,
( run in 0.710 second using v1.01-cache-2.11-cpan-6aa56a78535 )