
use-devel-assertos - a script to package Devel::AssertOS modules with your code.

This script,
when run in the directory in which your shiny new module lives,
will bundle whichever Devel::AssertOS modules you ask it to in the inc directory,
and update your Makefile.PL (or Build.PL) appropriately.
If neither exists,
it will create a Makefile.PL.

use-devel-assertos NetBSD OpenBSD FreeBSD

In the example above, this will insert code to make your module depend on one of the specified OSes.

This script has not been thoroughly tested. You should check by hand that it has done what you expected after running it.
If you use Module::Build::Compat to write a Makefile.PL, then you will need to re-run this script whenever you have generated a new Makefile.PL.
I welcome feedback about my code, including constructive criticism. Bug reports should be made using http://rt.cpan.org/ or by email.


David Cantrell <david@cantrell.org.uk>

Copyright 2007 David Cantrell
This software is free-as-in-speech software, and may be used, distributed, and modified under the same conditions as perl itself.

This software is also free-as-in-mason.