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

NAME

Fedora::Bugzilla::Bugs - A set of bugs

SYNOPSIS

    # from known #'s/aliases
    $bugs = $bz->bugs(123456, 789012, ...);

    # from a query
    $bugs = $bz->query(...);

    # ...

    print $bugs->count . " bugs found: $bugs";

DESCRIPTION

This class represents a collection of bugs, either returned from a query or pulled via get_bugs().

SUBROUTINES/METHODS

new()

You'll never need to call this yourself, most likely. Fedora::Bugzilla tends to handle the messy bits for you.

raw()

The raw array ref of hashes returned.

sql()

The SQL Bugzilla executed to run this query.

as_string()

Stringifies. The "" operator is also overloaded, so you can just use the reference in a string context.

ACCESSORS

All accessors are r/o, and are pretty self-explanitory.

bz

A reference to the parent Fedora::Bugzilla instance.

num_bugs
first_bug
last_bug
map_over_bugs
get_bug

SEE ALSO

Fedora::Bugzilla

AUTHOR

Chris Weyl <cweyl@alumni.drew.edu>

LICENSE AND COPYRIGHT

Copyright (c) 2009 Chris Weyl <cweyl@alumni.drew.edu>

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

This library 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 Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the

    Free Software Foundation, Inc.
    59 Temple Place, Suite 330
    Boston, MA  02111-1307  USA