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

NAME

Module::Install::TestBase - Module::Install Support for YAML::Tests

SYNOPSIS

    # Example Makefile.PL
    use inc::Module::Install;

    name            'YAML::Foo';
    all_from        'lib/YAML/Foo.pm';

    use_yaml_tests;

    WriteAll;

DESCRIPTION

By adding the single line:

    use_yaml_tests;

to your Module::Install based Makefile.PL, when you then run the command:

    perl Makefile.PL

the YAML::Tests test files will be copied into your module's t/ directory.

CONFIGURATION

If you are using YAML::Tests in your own YAML module, create a file called t/yaml_tests.yaml. Here is an example:

    # YAML::Tests Config File
    
    # The name of your module
    yaml_module: YAML::Syck
    
    # Set this to '1' if your module uses XS
    use_blib: 1
    
    # List of test components to *not* copy to your module area
    exclude:
      - alias.t
      - null.t

AUTHOR

Ingy döt Net <ingy@cpan.org>

COPYRIGHT

Copyright (c) 2007. Ingy döt Net. All rights reserved.

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

See http://www.perl.com/perl/misc/Artistic.html

1 POD Error

The following errors were encountered while parsing the POD:

Around line 118:

Non-ASCII character seen before =encoding in 'döt'. Assuming UTF-8