Net::Google::Calendar::Comments - represent comments
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"; }
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.
regular
undef
reviews
Our element name
Get or set the feed link objects.
To install Net::Google::Calendar, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Google::Calendar
CPAN shell
perl -MCPAN -e shell install Net::Google::Calendar
For more information on module installation, please visit the detailed CPAN module installation guide.