Acme-Blarghy-McBlarghBlargh
view release on metacpan or search on metacpan
2345678910111213141516171819202122Acme-Blarghy-McBlarghBlargh.tar.gz
blarghymcblarghblargh.pl
inc/Module/AutoInstall.pm
inc/Module/Install.pm
inc/Module/Install/AutoInstall.pm
inc/Module/Install/Base.pm
inc/Module/Install/Can.pm
inc/Module/Install/Fetch.pm
inc/Module/Install/Include.pm
inc/Module/Install/Makefile.pm
inc/Module/Install/Metadata.pm
inc/Module/Install/Scripts.pm
inc/Module/Install/Win32.pm
inc/Module/Install/WriteAll.pm
lib/Acme/Blarghy/McBlarghBlargh.pm
Makefile.PL
MANIFEST This list of files
META.yml
README
script/blarghymcblarghblargh.pl
t/blargh.t
inc/Module/Install/Metadata.pm view on Meta::CPAN
123456789101112#line 1
package
Module::Install::Metadata;
BEGIN {
$VERSION
=
'0.79'
;
$ISCORE
= 1;
@ISA
=
qw{Module::Install::Base}
;
}
inc/Module/Install/Metadata.pm view on Meta::CPAN
306307308309310311312313314315316317318319320321322323324325326327328329
my
$type
=
shift
;
push
@{
$self
->{
values
}{no_index}{
$type
} },
@_
if
$type
;
return
$self
->{
values
}{no_index};
}
sub
read
{
my
$self
=
shift
;
$self
->include_deps(
'YAML::Tiny'
, 0 );
my
$data
= YAML::Tiny::LoadFile(
'META.yml'
);
# Call methods explicitly in case user has already set some values.
while
(
my
(
$key
,
$value
) =
each
%$data
) {
next
unless
$self
->can(
$key
);
if
(
ref
$value
eq
'HASH'
) {
while
(
my
(
$module
,
$version
) =
each
%$value
) {
$self
->can(
$key
)->(
$self
,
$module
=>
$version
);
}
}
else
{
$self
->can(
$key
)->(
$self
,
$value
);
}
}
return
$self
;
( run in 1.137 second using v1.01-cache-2.11-cpan-49f99fa48dc )