Platform::Windows - an empty module that can only be installed on Windows
use Platform::Windows;
This module does nothing, but its installer only works on Windows. The platform test is:
$^O =~ /^(MSWin32|cygwin)$/i
Adding a dependency on Platform::Windows is a way of explicitly indicating that your module requires Windows.
Platform.
Toby Inkster, <tobyink@cpan.org>
Copyright (C) 2013 by Toby Inkster
This library is free software; you can redistribute it and/or modify it under the same terms as Perl 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::Windows, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Platform::Windows
CPAN shell
perl -MCPAN -e shell install Platform::Windows
For more information on module installation, please visit the detailed CPAN module installation guide.