The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

VERSION

Version 0.04

SYNOPSIS

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

This module exports one function.

FUNCTIONS

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 is directory 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

YAMASHINA Hio, <hio at cpan.org>

BUGS

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

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

    perldoc ExtUtils::MY_Metafile

You can also look for information at:

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

Copyright 2006 YAMASHINA Hio, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

# ----------------------------------------------------------------------------- # End of File. # -----------------------------------------------------------------------------