The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

NAME

Platform::Unix - an empty module that can only be installed on Linux/Unix

SYNOPSIS

DESCRIPTION

This module does nothing, but its installer only works on Unix. The platform test is:

$^O =~ /^(Linux|.*BSD.*|.*UNIX.*|Darwin|Solaris|SunOS|Haiku|Next|dec_osf|svr4|sco_sv|unicos.*|.*x)$/i

Adding a dependency on Platform::Unix is a way of explicitly indicating that your module requires Unix.

SEE ALSO

Platform.

AUTHOR

Toby Inkster, <tobyink@cpan.org>

COPYRIGHT AND LICENSE

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.

DISCLAIMER OF WARRANTIES

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.