Data-Section-Pluggable
view release on metacpan or search on metacpan
}
},
"runtime" : {
"recommends" : {
"Cpanel::JSON::XS" : "0"
},
"requires" : {
"Class::Tiny" : "0",
"JSON::MaybeXS" : "0",
"Path::Tiny" : "0.130",
"Ref::Util" : "0",
"Role::Tiny" : "1.003001",
"perl" : "v5.20.0",
"stable" : "0",
"true" : "0"
}
},
"test" : {
"requires" : {
"Test2::V0" : "0.000121",
"Test::More" : "0.98",
no_index:
directory:
- corpus
- examples
recommends:
Cpanel::JSON::XS: '0'
requires:
Class::Tiny: '0'
JSON::MaybeXS: '0'
Path::Tiny: '0.130'
Ref::Util: '0'
Role::Tiny: '1.003001'
perl: v5.20.0
stable: '0'
'true': '0'
resources:
bugtracker: https://github.com/uperl/Data-Section-Pluggable/issues
homepage: https://metacpan.org/pod/Data::Section::Pluggable
repository: git://github.com/uperl/Data-Section-Pluggable.git
version: '0.08'
x_generated_by_perl: v5.40.0
Makefile.PL view on Meta::CPAN
"PM" => {
"lib/Data/Section/Pluggable.pm" => "\$(INST_LIB)/Data/Section/Pluggable.pm",
"lib/Data/Section/Pluggable/Plugin/Json.pm" => "\$(INST_LIB)/Data/Section/Pluggable/Plugin/Json.pm",
"lib/Data/Section/Pluggable/Plugin/Trim.pm" => "\$(INST_LIB)/Data/Section/Pluggable/Plugin/Trim.pm",
"lib/Data/Section/Pluggable/Role/ContentProcessorPlugin.pm" => "\$(INST_LIB)/Data/Section/Pluggable/Role/ContentProcessorPlugin.pm"
},
"PREREQ_PM" => {
"Class::Tiny" => 0,
"JSON::MaybeXS" => 0,
"Path::Tiny" => "0.130",
"Ref::Util" => 0,
"Role::Tiny" => "1.003001",
"stable" => 0,
"true" => 0
},
"TEST_REQUIRES" => {
"Test2::V0" => "0.000121",
"Test::More" => "0.98",
"Test::Script" => 0
},
"VERSION" => "0.08",
"test" => {
"TESTS" => "t/*.t"
}
);
my %FallbackPrereqs = (
"Class::Tiny" => 0,
"JSON::MaybeXS" => 0,
"Path::Tiny" => "0.130",
"Ref::Util" => 0,
"Role::Tiny" => "1.003001",
"Test2::V0" => "0.000121",
"Test::More" => "0.98",
"Test::Script" => 0,
"stable" => 0,
"true" => 0
);
unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
delete $WriteMakefileArgs{TEST_REQUIRES};
lib/Data/Section/Pluggable.pm view on Meta::CPAN
use experimental qw( signatures );
use stable qw( postderef );
package Data::Section::Pluggable 0.08 {
# ABSTRACT: Read structured data from __DATA__
use Class::Tiny qw( package prefer_filesystem filename _formats _cache );
use Exporter qw( import );
use Ref::Util qw( is_ref is_plain_hashref is_coderef is_plain_arrayref is_blessed_ref );
use MIME::Base64 qw( decode_base64 encode_base64 );
use Path::Tiny 0.130 ();
use Carp ();
our @EXPORT_OK = qw( get_data_section );
sub BUILDARGS ($class, @args) {
if(@args == 1) {
return $args[0] if is_plain_hashref $args[0];
return { package => $args[0] };
lib/Data/Section/Pluggable/Plugin/Trim.pm view on Meta::CPAN
use experimental qw( signatures );
use stable qw( postderef );
package Data::Section::Pluggable::Plugin::Trim 0.08 {
# ABSTRACT: Data::Section::Pluggable plugin that trims whitespace
use Class::Tiny qw( extensions );
use Role::Tiny::With;
use Ref::Util qw( is_arrayref );
with 'Data::Section::Pluggable::Role::ContentProcessorPlugin';
sub BUILD ($self, $) {
if(defined $self->extensions) {
$self->extensions([$self-extensions]) unless is_arrayref $self->extensions;
} else {
$self->extensions(['txt']);
}
}
t/00_diag.t view on Meta::CPAN
$modules{$_} = $_ for qw(
Class::Tiny
Cpanel::JSON::XS
Data::Section::Writer
ExtUtils::MakeMaker
JSON::MaybeXS
JSON::PP
JSON::XS
Path::Tiny
Ref::Util
Role::Tiny
Test2::V0
Test::More
Test::Script
stable
true
);
( run in 1.234 second using v1.01-cache-2.11-cpan-a5abf4f5562 )