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


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.


Nothing is exported by default.

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



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.


Alceu Rodrigues de Freitas Junior, <>


This software is copyright (c) 2015 of Alceu Rodrigues de Freitas Junior, <>

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 <>.