Platform - add dependencies on platforms
This is a documentation-only release. There is not generally any reason to install it.
The Platform::* namespace is for releasing dummy distributions which are only installable on a particular platform.
Platform::*
For example, Platform::Windows can only be installed on Windows machines. Perl software designed to run on Windows only may then introduce a deliberate dependency on Platform::Windows to make its platform requirement explicit.
WriteMakefile( ..., MIN_PERL_VERSION => "5.6.1", PREREQ_PM => { "Platform::Windows" => 0, "Some::Module" => "1.23", ..., }, );
perl_version "5.6.1"; requires "Platform::Windows" => 0; requires "Some::Module" => "1.23";
my $build = Module::Build->new( ..., requires => { "perl" => "5.6.1", "Platform::Windows" => 0, "Some::Module" => "1.23", ..., }, );
Please report any bugs to http://rt.cpan.org/Dist/Display.html?Queue=Platform.
Platform::Unix, Platform::Windows.
http://blogs.perl.org/users/toby_inkster/2013/03/introducing-platform.html.
https://bitbucket.org/tobyink/p5-platform.
Toby Inkster <tobyink@cpan.org>.
This software is copyright (c) 2013 by Toby Inkster.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
To install Platform, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Platform
CPAN shell
perl -MCPAN -e shell install Platform
For more information on module installation, please visit the detailed CPAN module installation guide.