NAME
Net::Google::Calendar::Comments - represent comments
SYNOPSIS
my ($event) = $cal->get_events;
my $comments = $event->comments;
if (!defined $comments) {
die "No comments!\n";
}
print "Comments are of type: ".$comments->rel."\n";
my $feed = $comments->feed_link;
print "There are ".$feed->count_hint." comments in this feed\n";
print "Is this feed read only? ".$feed->read_only."\n";
print "This feed ".(($feed->href)? "is" : "isn't" )." remote\n";
print "This feed is of type ".$feed->rel."\n";
foreach my $comment ($cal->get_feed($feed->feed)->entries) {
print "\t".$comment->title."\n";
}
METHODS
new
rel [rel]
Type of comments contained within. Currently, there's a distinction between regular comments and reviews.
Returns either regular
(or undef
which means the same) or reviews
.
element_name
Our element name
feed_link [feed_link]
Get or set the feed link objects.