Debbugs::CGI::Bugreport(3) specific routines for the bugreport cgi script

SYNOPSIS

DESCRIPTION

BUGS

None known.

display_entity

     display_entity(entity      => $entity,
                    bug_num     => $ref,
                    outer       => 1,
                    msg_num     => $msg_num,
                    attachments => \@attachments,
                    output      => \$output);
entity --- MIME::Parser entity
bug_num --- Bug number
outer --- Whether this is the outer entity; defaults to 1
msg_num --- message number in the log
attachments --- arrayref of attachments
output --- scalar reference for output

handle_email_message

     handle_email_message($record->{text},
                          ref        => $bug_number,
                          msg_num => $msg_number,
                         );

Returns a decoded e-mail message and displays entities/attachments as appropriate.

handle_record

     push @log, handle_record($record,$ref,$msg_num);

Deals with a record in a bug log as returned by Debbugs::Log::read_log_records; returns the log information that should be output to the browser.