Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Net::Google::Calendar:UsermContributed Perl Net::Google::Calendar::Comments(3)

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.

perl v5.32.1			  2021-08-28Net::Google::Calendar::Comments(3)

NAME | SYNOPSIS | METHODS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Net::Google::Calendar::Comments&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help