Subject: | (in cleanup) Can't locate object method "host" via package "URI::_generic" at /opt/local/lib/perl5/site_perl/5.12.4/WWW/GoodData.pm line 252. |
Date: | Fri, 12 Jul 2013 13:20:58 +0200 |
To: | bug-WWW-GoodData [...] rt.cpan.org |
From: | Adam Stulpa <adam.stulpa [...] gooddata.com> |
It looks, that this message occurs only on PIs. I see no warning on
secure (or staging).
Script example:
#!/usr/bin/env perl
use strict;
use warnings;
use Getopt::Long;
use WWW::GoodData;
use WWW::GoodData::Agent;
$ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0;
my $agent = new WWW::GoodData::Agent ('https://mypi.domain.com/gdc');
my $gdc = new WWW::GoodData ({agent => $agent});
$gdc->login('user@company.com', 'password');