<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">NAME
    App::osnames - List possible $^O ($OSNAME) values

FUNCTIONS
  list_osnames(%args) -&gt; [status, msg, result, meta]
    A collection of possible $^O ($OSNAME) values, along with description.

    Examples:

     list_osnames(q =&gt; "ux");

     list_osnames("detail" =&gt; 1, "tags.has" =&gt; ["unix"]);

     list_osnames("detail" =&gt; 1, "tags.lacks" =&gt; ["unix"]);

    This list might be useful when coding, e.g. when you want to exclude or
    include certain OS (families) in your application/test.

    Data is in table form. Table fields are as follow:

    -   *value* (ID field)

    -   *tags*

    -   *description*

    Arguments ('*' denotes required arguments):

    *   description =&gt; *str*

        Only return records where the 'description' field equals specified
        value.

    *   description.contains =&gt; *str*

        Only return records where the 'description' field contains specified
        text.

    *   description.in =&gt; *array*

        Only return records where the 'description' field is in the
        specified values.

    *   description.is =&gt; *str*

        Only return records where the 'description' field equals specified
        value.

    *   description.max =&gt; *str*

        Only return records where the 'description' field is less than or
        equal to specified value.

    *   description.min =&gt; *str*

        Only return records where the 'description' field is greater than or
        equal to specified value.

    *   description.not_contains =&gt; *str*

        Only return records where the 'description' field does not contain a
        certain text.

    *   description.not_in =&gt; *array*

        Only return records where the 'description' field is not in the
        specified values.

    *   description.xmax =&gt; *str*

        Only return records where the 'description' field is less than
        specified value.

    *   description.xmin =&gt; *str*

        Only return records where the 'description' field is greater than
        specified value.

    *   detail =&gt; *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 =&gt; *array*

        Select fields to return.

    *   q =&gt; *str*

        Search.

    *   random =&gt; *bool* (default: 0)

        Return records in random order.

    *   result_limit =&gt; *int*

        Only return a certain number of records.

    *   result_start =&gt; *int* (default: 1)

        Only return starting from the n'th record.

    *   sort =&gt; *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 =&gt; *array*

        Only return records where the 'tags' field equals specified value.

    *   tags.has =&gt; *array*

        Only return records where the 'tags' field is an array/list which
        contains specified value.

    *   tags.is =&gt; *array*

        Only return records where the 'tags' field equals specified value.

    *   tags.lacks =&gt; *array*

        Only return records where the 'tags' field is an array/list which
        does not contain specified value.

    *   value =&gt; *str*

        Only return records where the 'value' field equals specified value.

    *   value.contains =&gt; *str*

        Only return records where the 'value' field contains specified text.

    *   value.in =&gt; *array*

        Only return records where the 'value' field is in the specified
        values.

    *   value.is =&gt; *str*

        Only return records where the 'value' field equals specified value.

    *   value.max =&gt; *str*

        Only return records where the 'value' field is less than or equal to
        specified value.

    *   value.min =&gt; *str*

        Only return records where the 'value' field is greater than or equal
        to specified value.

    *   value.not_contains =&gt; *str*

        Only return records where the 'value' field does not contain a
        certain text.

    *   value.not_in =&gt; *array*

        Only return records where the 'value' field is not in the specified
        values.

    *   value.xmax =&gt; *str*

        Only return records where the 'value' field is less than specified
        value.

    *   value.xmin =&gt; *str*

        Only return records where the 'value' field is greater than
        specified value.

    *   with_field_names =&gt; *bool*

        Return field names in each record (as hash/associative array).

        When enabled, function will return each record as hash/associative
        array (field name =&gt; 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.

SEE ALSO
    perlvar

    Config

    Devel::Platform::Info

    The output of "perl -V"

HOMEPAGE
    Please visit the project's homepage at
    &lt;https://metacpan.org/release/App-osnames&gt;.

SOURCE
    Source repository is at &lt;https://github.com/sharyanto/perl-App-osnames&gt;.

BUGS
    Please report any bugs or feature requests on the bugtracker website
    http://rt.cpan.org/Public/Dist/Display.html?Name=App-osnames

    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
    Steven Haryanto &lt;stevenharyanto@gmail.com&gt;

COPYRIGHT AND LICENSE
    This software is copyright (c) 2013 by Steven Haryanto.

    This is free software; you can redistribute it and/or modify it under
    the same terms as the Perl 5 programming language system itself.

</pre></body></html>