🌻 📖 WWW::Bugzilla::BugTree::Bug

NAME

WWW::Bugzilla::BugTree::Bug - A bug tree returned from WWW::Bugzilla::BugTree

VERSION

version 0.08

DESCRIPTION

This class represents an individual bug returned from WWW::Bugzilla::BugTree's fetch method. It is also a tree since it has a children accessor which returns the list of bugs that block this bug.

ATTRIBUTES

url

 my $url = $bug->url;

The URL of the bug.

res

 my $res = $bug->res;

The raw HTTP::Response object for the bug.

id

 my $id = $bug->id;

The bug id for the bug.

children

 my @children = $bug->children->@*;

The list of bugs that are blocking this one. This is a list of WWW::Bugzilla::BugTree::Bug objects.

as_string

 my $string = $bug->as_string;
 my $string = "$bug";

Returns a human readable form of the string in the form of

 "id status (resolution) subject"

if it has been resolved, and

 "id status subject"

otherwise.

SEE ALSO

bug_tree, WWW::Bugzilla::BugTree

AUTHOR

Graham Ollis <plicease@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Graham Ollis.

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