Module::Install::AssertOS - A Module::Install extension to require that we are running on a particular OS
# In Makefile.PL use inc::Module::Install; assertos qw(Linux FreeBSD Cygwin);
The Makefile.PL will die unless the platform the code is running on is Linux, FreeBSD or Cygwin.
Module::Install::AssertOS is a Module::Install extension that integrates Devel::AssertOS so that CPAN authors may easily stipulate which particular OS environments their distributions may be built and installed on.
On the module user side, the bundled
inc/ Devel::AssertOS determines whether the current environment is supported or not and will die accordingly.
This plugin adds the following Module::Install command:
Based on use-devel-assertos by David Cantrell
Copyright © Chris Williams and David Cantrell
This module may be used, modified, and distributed under the same terms as Perl itself. Please see the license that came with your Perl distribution for details.