ExtUtils::MY_Metafile - META.yml customize with ExtUtil::MakeMaker


ExtUtils-MY_Metafile documentation  | view source Contained in the ExtUtils-MY_Metafile distribution.

Index


NAME

Top

ExtUtils::MY_Metafile - META.yml customize with ExtUtil::MakeMaker

VERSION

Top

Version 0.09

SYNOPSIS

Top

put ExtUtils/MY_Metafile.pm into inc/ExtUtils/MY_Metafile.pm:



  $ mkdir -p inc/ExtUtils
  $ cp `perldoc -l ExtUtils::MY_Metafile` inc/ExtUtils/

and write in your Makefile.PL:



  use ExtUtils::MakeMaker;
  use inc::ExtUtils::MY_Metafile;

  my_metafile {
    no_index => {
      directory => [ qw(inc example t), ],
    },
    license  => 'perl',
  };

  WriteMakefile(
    DISTNAME => 'Your::Module',
    ...
  );

EXPORT

Top

This module exports one function.

FUNCTIONS

Top

my_metafile $modname => \%meta_param;

Takes two arguments. First one is package name to be generated, and you can omit this argument. Second is hashref which contains META.yml contents.



  my_metafile {
    no_index => {
      directory => [ qw(inc example t), ],
    },
    license  => 'perl',
  };

Some parameters are checked automatically.

no_index

If you not specify directory parameter for no_index and there are any directory of inc t ex eg example examples sample samples demo demos, they are set as it.

requires

requires directive is set from PREREQ_PM parameter of EUMM. If you want to use build_requires, you can write it.

AUTHOR

Top

YAMASHINA Hio, <hio at cpan.org>

BUGS

Top

Please report any bugs or feature requests to bug-extutils-my_metafile at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=ExtUtils-MY_Metafile. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

Top

You can find documentation for this module with the perldoc command.



    perldoc ExtUtils::MY_Metafile

You can also look for information at:

* AnnoCPAN: Annotated CPAN documentation

http://annocpan.org/dist/ExtUtils-MY_Metafile

* CPAN Ratings

http://cpanratings.perl.org/d/ExtUtils-MY_Metafile

* RT: CPAN's request tracker

http://rt.cpan.org/NoAuth/Bugs.html?Dist=ExtUtils-MY_Metafile

* Search CPAN

http://search.cpan.org/dist/ExtUtils-MY_Metafile

ACKNOWLEDGEMENTS

Top

COPYRIGHT & LICENSE

Top


ExtUtils-MY_Metafile documentation  | view source Contained in the ExtUtils-MY_Metafile distribution.