NAME App::osnames - List possible $^O ($OSNAME) values, with description VERSION This document describes version 0.07 of App::osnames (from Perl distribution App-osnames), released on 2014-12-18. FUNCTIONS list_osnames(%args) -> [status, msg, result, meta] List possible $^O ($OSNAME) values, with description. Examples: list_osnames( q => "ux"); String search. list_osnames( "detail" => 1, "tags.has" => ["unix"]); List Unices. list_osnames( "detail" => 1, "tags.lacks" => ["unix"]); List non-Unices. This list might be useful when coding, e.g. when you want to exclude or include certain OS (families) in your application/test. Arguments ('*' denotes required arguments): * description => *str* Only return records where the 'description' field equals specified value. * description.contains => *str* Only return records where the 'description' field contains specified text. * description.in => *array* Only return records where the 'description' field is in the specified values. * description.is => *str* Only return records where the 'description' field equals specified value. * description.isnt => *str* Only return records where the 'description' field does not equal specified value. * description.max => *str* Only return records where the 'description' field is less than or equal to specified value. * description.min => *str* Only return records where the 'description' field is greater than or equal to specified value. * description.not_contains => *str* Only return records where the 'description' field does not contain specified text. * description.not_in => *array* Only return records where the 'description' field is not in the specified values. * description.xmax => *str* Only return records where the 'description' field is less than specified value. * description.xmin => *str* Only return records where the 'description' field is greater than specified value. * detail => *bool* (default: 0) Return array of full records instead of just ID fields. By default, only the key (ID) field is returned per result entry. * fields => *array* Select fields to return. * q => *str* Search. * sort => *str* Order records according to certain field(s). A list of field names separated by comma. Each field can be prefixed with '-' to specify descending order instead of the default ascending. * tags => *array* Only return records where the 'tags' field equals specified value. * tags.has => *array* Only return records where the 'tags' field is an array/list which contains specified value. * tags.is => *array* Only return records where the 'tags' field equals specified value. * tags.isnt => *array* Only return records where the 'tags' field does not equal specified value. * tags.lacks => *array* Only return records where the 'tags' field is an array/list which does not contain specified value. * value => *str* Only return records where the 'value' field equals specified value. * value.contains => *str* Only return records where the 'value' field contains specified text. * value.in => *array* Only return records where the 'value' field is in the specified values. * value.is => *str* Only return records where the 'value' field equals specified value. * value.isnt => *str* Only return records where the 'value' field does not equal specified value. * value.max => *str* Only return records where the 'value' field is less than or equal to specified value. * value.min => *str* Only return records where the 'value' field is greater than or equal to specified value. * value.not_contains => *str* Only return records where the 'value' field does not contain specified text. * value.not_in => *array* Only return records where the 'value' field is not in the specified values. * value.xmax => *str* Only return records where the 'value' field is less than specified value. * value.xmin => *str* Only return records where the 'value' field is greater than specified value. * with_field_names => *bool* Return field names in each record (as hash/associative array). When enabled, function will return each record as hash/associative array (field name => value pairs). Otherwise, function will return each record as list/array (field value, field value, ...). Return value: Returns an enveloped result (an array). First element (status) is an integer containing HTTP status code (200 means OK, 4xx caller error, 5xx function error). Second element (msg) is a string containing error message, or 'OK' if status is 200. Third element (result) is optional, the actual result. Fourth element (meta) is called result metadata and is optional, a hash that contains extra information. (any) SEE ALSO Perl::osnames HOMEPAGE Please visit the project's homepage at . SOURCE Source repository is at . BUGS Please report any bugs or feature requests on the bugtracker website When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature. AUTHOR perlancar COPYRIGHT AND LICENSE This software is copyright (c) 2014 by perlancar@cpan.org. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.