The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Siebel::AssertOS::Validate - validate is OS is supported or not

DESCRIPTION

This module does the proper validation used on Siebel::AssertOS while it's being imported. See EXPORT.

This module was created basically to facilitate unit testing.

EXPORT

Nothing is exported by default.

The function os_is is the only function exported by demand of this module.

FUNCTIONS

os_is

Expects a string as parameter, being the string the name of the OS (like $^O environment variable).

It returns true or false (in Perl terms) if the OS is supported or not.

In the case of Linux, it will also warn if the distribution is not support and the return false.

AUTHOR

Alceu Rodrigues de Freitas Junior, <arfreitas@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 of Alceu Rodrigues de Freitas Junior, <arfreitas@cpan.org>

This file is part of Siebel GNU Tools project.

Siebel GNU Tools is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Siebel GNU Tools is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with Siebel GNU Tools. If not, see <http://www.gnu.org/licenses/>.