17 Feb 2017 13:18:30 UTC
- Distribution: Module-Install-AssertOS
- Module version: 0.12
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (2)
- Testers (773 / 3 / 0)
- KwaliteeBus factor: 1
- 30.26% Coverage
- License: perl_5
- Perl: v5.6.0
- Download (27.36KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
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.
Module Install Instructions
To install Module::Install::AssertOS, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Module::Install::AssertOS
For more information on module installation, please visit the detailed CPAN module installation guide.
|s||Focus search bar|
|?||Bring up this help dialog|
|g p||Go to pull requests|
|g i||go to github issues (only if github is preferred repository)|
|g a||Go to author|
|g c||Go to changes|
|g i||Go to issues|
|g d||Go to dist|
|g r||Go to repository/SCM|
|g s||Go to source|
|g b||Go to file browse|