Perlanet::Entry - represents an entry in a feed


Perlanet documentation Contained in the Perlanet distribution.

Index


Code Index:

NAME

Top

Perlanet::Entry - represents an entry in a feed

DESCRIPTION

Top

This is a wrapper around XML::Feed::Entry with support for linking back to the feed from the entry


Perlanet documentation Contained in the Perlanet distribution.

package Perlanet::Entry;
use Moose;

has '_entry' => (
  isa => 'XML::Feed::Entry',
  is => 'ro',
  required => 1,
  handles => [qw( title link issued body summary content modified author )]
);

has 'feed' => (
  isa => 'Perlanet::Feed',
  is => 'ro',
  required => 1
);

no Moose;
__PACKAGE__->meta->make_immutable;
1;