GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
USE-DEVEL-ASSERTOS(1) User Contributed Perl Documentation USE-DEVEL-ASSERTOS(1)

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. The MANIFEST file is updated if any files are created.

    use-devel-assertos NetBSD OpenBSD FreeBSD

But note that if you use "Module::Install" you are encouraged to use "Module::Install::AssertOS" instead.

In the example above, this will insert code to make your module depend on one of the specified OSes, as well as update Makefile.PL / Build.PL / MANIFEST. By default it's rather noisy, but you can suppress that by passing -q as the first parameter.

To get a list of supported platforms, do this:

    use-devel-assertos -l

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 <https://github.com/DrHyde/perl-modules-Devel-CheckOS/issues>.

Devel::AssertOS

Devel::CheckOS

Module::Install::AssertOS

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 terms of either the GNU General Public Licence version 2 or the Artistic Licence. It's up to you which one you use. The full text of the licences can be found in the files GPL2.txt and ARTISTIC.txt, respectively.

This software is also free-as-in-mason.
2020-02-21 perl v5.32.1

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.