Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

using google apps

by daptal (Acolyte)
on Oct 19, 2011 at 21:48 UTC ( #932514=perlquestion: print w/ replies, xml ) Need Help??
daptal has asked for the wisdom of the Perl Monks concerning the following question:

Hi, I am trying to use the google api for setting the vacation attributes. When i try to set the end date to null ie '' it does not set the value , however if i set the value to some date eg:- '2011-10-10' it sets the value.
ref: http://code.google.com/googleapps/domain/email_settings/developers_guide_protocol.html#GA_email_vacation_main
usage :
$arg->{'endDate'} = ''; #and i build the xml from there on in the format 'endDate' => { 'value' => '' },
Can you please point me in the right direction

Comment on using google apps
Replies are listed 'Best First'.
Re: using google apps
by Anonymous Monk on Oct 20, 2011 at 03:40 UTC

    '' is not null, '' is the empty string

    Try simply not specifying an end date

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://932514]
Approved by planetscape
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (11)
As of 2015-07-28 17:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (258 votes), past polls