diff options
Diffstat (limited to 'Master/tlpkg/tlperl/lib/CPANPLUS/Internals/Constants.pm')
-rw-r--r-- | Master/tlpkg/tlperl/lib/CPANPLUS/Internals/Constants.pm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Master/tlpkg/tlperl/lib/CPANPLUS/Internals/Constants.pm b/Master/tlpkg/tlperl/lib/CPANPLUS/Internals/Constants.pm index 1a38200dfb7..443d5a4ca8a 100644 --- a/Master/tlpkg/tlperl/lib/CPANPLUS/Internals/Constants.pm +++ b/Master/tlpkg/tlperl/lib/CPANPLUS/Internals/Constants.pm @@ -154,6 +154,16 @@ use constant MYMETA_YML => sub { return @_ : 'MYMETA.yml'; }; +use constant META_JSON => sub { return @_ + ? File::Spec->catfile( @_, 'META.json' ) + : 'META.json'; + }; + +use constant MYMETA_JSON => sub { return @_ + ? File::Spec->catfile( @_, 'MYMETA.json' ) + : 'MYMETA.json'; + }; + use constant BLIB => sub { return @_ ? File::Spec->catfile(@_, 'blib') : 'blib'; |