Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

How to update a particular event in google using Net::Google::Calendar ?

by elavarasan (Acolyte)
on May 23, 2013 at 09:19 UTC ( #1034915=perlquestion: print w/replies, xml ) Need Help??
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 (Bishop) 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!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1034915]
Approved by Corion
help
Chatterbox?
[Corion]: Mj1234: Maybe Ubuntu didn't package Devel::GDB? In that case, consider using local::lib and install the module from CPAN
[Corion]: But a quick Google search turns up this page, which seems to suggest that it should be packaged
[Discipulus]: iirc active perl has repositories only for last 2 o 3 major release of perl Mj1234. I strongly suggest portable version of strawberry perl and use cpan client to install modules
[choroba]: Also, who needs GDB when there's hdb?
[Discipulus]: in this ubuntu i'm not able to find resource monitor, graphical mount program.. just office and amazon are exposed!

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (7)
As of 2016-12-07 08:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (125 votes). Check out past polls.