marvell has asked for the wisdom of the Perl Monks concerning the following question:
Good Afternoon
I have this simple script:
#!/usr/bin/perl use Net::Google::AuthSub; use warnings; local $ENV{GOOGLE_DATAAPI_DEBUG} = 1; my $auth = Net::Google::AuthSub->new; my $response = $auth->login('person@place.com', 'xxxxxxxx'); if ($response->is_success) { print "Hurrah! Logged in\n"; } else { die "Login failed: ".$response->error."\n"; }
I have run the same script on two servers and have it logs in fine on one and not so on the other. I am attempting to debug this, but have had no luck. I have tried setting the appropriate variable in the Unix environment, exported it, used it on the same line and the like.
I have no idea how to proceed with finding why one server lets me log in and the other does not.
You assistance would be greatly appreciated.
--
¤ Steve Marvell
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Net::Google::AuthSub always fails to log in
by aitap (Curate) on Jul 11, 2012 at 15:14 UTC | |
by marvell (Pilgrim) on Jul 11, 2012 at 15:35 UTC | |
by aitap (Curate) on Jul 12, 2012 at 09:32 UTC | |
|
Re: Net::Google::AuthSub always fails to log in
by lothar4ever (Initiate) on Aug 14, 2012 at 20:33 UTC |