Subject: | Bitly.pm 110 2009-03-22 21:04:27Z pankaj |
Date: | Mon, 7 Oct 2013 11:47:04 -0700 (PDT) |
To: | "bug-WWW-Shorten-Bitly [...] rt.cpan.org" <bug-WWW-Shorten-Bitly [...] rt.cpan.org> |
From: | "GSG Solutions, LLC." <gsgsolutions [...] yahoo.com> |
I am using the Bitly implementaion of WWW::Shorten::Simple. All supporting and required modules are installed. When I execute the below code, I get an error message.
Code:
my $svc = WWW::Shorten::Simple->new('Bitly', 'username, 'token');
my $short_url = $svc->shorten($long_url);
Error:
Can't coerce array into hash at /usr/local/lib/perl5/site_perl/5.8.8/WWW/Shorten/Bitly.pm line 172.
The ApiKey implementation of bitly has been deprecated. Any change of getting the module updated?
Thanks,
GSG.