From e994587de54ecf097c2c1ece3c546e85dcf08424 Mon Sep 17 00:00:00 2001 From: xaicron Date: Wed, 15 Feb 2012 01:20:41 +0900 Subject: [PATCH] s/has/is/g --- lib/WWW/Google/ClientLogin.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/WWW/Google/ClientLogin.pm b/lib/WWW/Google/ClientLogin.pm index 71a5826..a014ed7 100644 --- a/lib/WWW/Google/ClientLogin.pm +++ b/lib/WWW/Google/ClientLogin.pm @@ -102,7 +102,7 @@ WWW::Google::ClientLogin - Yet Another Google ClientLogin Client Library ); my $res = $client->authenticate; - die $res->status_line if $res->has_error; + die $res->status_line if $res->is_error; my $auth_token = $res->auth_token; @@ -172,7 +172,7 @@ SEE ALSO L<< http://code.google.com/intl/us/apis/accounts/docs/AuthForInstalledA Send authentication request for Google ClientLogin. Returned L<< WWW::Google::ClientLogin::Response >> object. my $res = $client->authenticate; - die $res->error_code if $res->has_error; + die $res->error_code if $res->is_error; my $auth_token = $res->auth_token; =head1 AUTHOR