package Net::Trac::TicketHistoryEntry; use Moose; use Net::Trac::TicketPropChange; has connection => ( isa => 'Net::Trac::Connection', is => 'ro' ); has prop_changes => ( isa => 'HashRef', is => 'rw' ); has author => ( isa => 'Str', is => 'rw' ); has date => ( isa => 'DateTime', is => 'rw' ); has category => ( isa => 'Str', is => 'rw' ); has content => ( isa => 'Str', is => 'rw' ); sub parse_feed_entry { my $self = shift; my $e = shift; # XML::Feed::Entry $self->author( $e->author ); $self->date( $e->issued ); $self->category( $e->category ); my $desc = $e->content->body; if ( $desc =~ s/^\s*