path/to/META.yml] )
Reads the configure_requires for this distribution from the META.yml or META.json
file in the root directory and returns a hashref with module names
and versions required.
=cut
);
my @possibles = do { defined $mod->status->extract
? ( META_JSON->( $mod->status->extract ),
META_YML->( $mod->status->extract ) )
push @args, ( file => $mfile );
if ( $mfile =~ /\.json/ ) {
$href = $self->_prereqs_from_meta_json( @args, keys => [ 'configure' ] );
}
else {
use constant META_JSON => sub { return @_
? File::Spec->catfile( @_, 'META.json' )
: 'META.json';
e constant MYMETA_JSON => sub { return @_
? File::Spec->catfile( @_, 'MYMETA.json' )
: 'MYMETA.json';