The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Net::API::CPAN::List::Web - Web Search Result List Object Class

SYNOPSIS

    use Net::API::CPAN::List::Web;
    my $list = Net::API::CPAN::List::Web->new(
        {
            distribution => "Folklore-Japan",
            hits => [
                {
                    abstract => "Japan Folklore Object Class",
                    author => "MOMOTARO",
                    authorized => 1,
                    date => "2023-07-17T09:43:41",
                    description => "Folklore::Japan is a totally fictious perl 5 module designed to serve as an example for the MetaCPAN API.",
                    distribution => "Folklore-Japan",
                    documentation => "Folklore::Japan",
                    favorites => 1,
                    id => "abcd1234edfgh56789",
                    indexed => 1,
                    module => [
                        {
                            associated_pod => "MOMOTARO/Folklore-Japan-v0.1.0/lib/Folklore/Japan.pm",
                            authorized => 1,
                            indexed => 1,
                            name => "Folklore::Japan",
                            version => 'v0.1.0',,
                            version_numified => 0.001000,
                        },
                    ],
                    path => "lib/Folklore/Japan.pm",
                    pod_lines => [12, 320],
                    release => "Folklore-Japan-v0.1.0",
                    score => 0.031563006,
                    status => "latest",
                },
            ],
            total => 1,
        }
    ) || die( Net::API::CPAN::List::Web->error );

VERSION

    v0.1.0

DESCRIPTION

This object class is used to represent web search result. It inherits from Net::API::CPAN::List, because this result set is basically a result set within a result set.

This class object type list_web is used when instantiating a new Net::API::CPAN::List object, so that each of the data array elements are instantiated as an object of this class.

So the overall structure would look like this:

    Net::API::CPAN::List object = [
        Net::API::CPAN::List::Web object,
        Net::API::CPAN::List::Web object,
        Net::API::CPAN::List::Web object,
        # etc..
    ]

METHODS

For all other methods, please refer to this class parent Net::API::CPAN::List

distribution

String. This represents the distribution name for this sub-result set.

AUTHOR

Jacques Deguest <jack@deguest.jp>

SEE ALSO

Net::API::CPAN::List

COPYRIGHT & LICENSE

Copyright(c) 2023 DEGUEST Pte. Ltd.

All rights reserved

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