http://www.perlmonks.org?node_id=1034915

elavarasan has asked for the wisdom of the Perl Monks concerning the following question:

Hai i am accessing google calendar by Net::Google::Calendar, in this i have readed all the events successfully and i need to update/edit the events, but i don't know how to edit a particular event, please help me
My code is:

use Net::Google::Calendar; my $cal = Net::Google::Calendar->new( url => $non_default_url ); my $username='xxxxx@gmail.com'; my $password='xxxxxxxx'; $cal->login($username, $password); # or $cal->auth($username, $auth_token) obviously for ($cal->get_events()) { my ($start, $finish) = $_->when(); print "Start Time:${start}\n"; print "End Time:${finish}\n\n"; print $_->title."\n"; print $_->content->body; print $_->location; print "\n*****************************************************\n\n"; print $_->id."\n\n"; }

Thanks in advance

  • Comment on How to update a particular event in google using Net::Google::Calendar ?
  • Download Code

Replies are listed 'Best First'.
Re: How to update a particular event in google using Net::Google::Calendar ?
by ww (Archbishop) on May 23, 2013 at 10:17 UTC

      just i dont know how to use update_entry() function

        ... and that's why you should read the document. It will show you!

        If you didn't program your executable by toggling in binary, it wasn't really programming!