Skip Menu |

This queue is for tickets about the Net-Laconica CPAN distribution.

Report information
The Basics
Id: 44606
Status: resolved
Priority: 0/
Queue: Net-Laconica

People
Owner: cthom [...] cpan.org
Requestors: rocold [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: splice() offset past end of array
Date: Thu, 26 Mar 2009 16:16:44 -0400
To: bug-Net-Laconica [...] rt.cpan.org
From: Rocold <rocold [...] gmail.com>
Dist:Net-Laconica-0.08 Perl: This is perl, v5.8.8 built for x86_64-linux OS: Linux 2.6.27-6_1.intel.BHsmp #1 SMP Thu Nov 13 15:27:29 MST 2008 x86_64 x86_64 x86_64 GNU/Linux I installed Net-Laconica via CPAN. I am trying to run the default test script on a bluehost box. use Net::Laconica; my $identi = Net::Laconica->new( uri => 'http://myhost.com/', username => 'username', password => 'password' ); print map { $_, "\n" } $identi->fetch; but i get the following error: splice() offset past end of array at /perl/usr/lib/perl5/site_perl/5.8.8/Net/Laconica.pm line 77. which is: # Ignore the first array element which is undef, and return the rest of the elements splice @{$self->{contents}}, 1, $number; Thanks, Rocold
Subject: Re: [rt.cpan.org #44606] AutoReply: splice() offset past end of array
Date: Thu, 26 Mar 2009 20:37:28 +0000
To: Bugs in Net-Laconica via RT <bug-Net-Laconica [...] rt.cpan.org>
From: rocold [...] gmail.com
I forgot to mention I am using Laconica version 0.7.2.1. Thanks, Rocold
The Net::Laconica that you are using was written by Allan Haggai Alavi and merely interacts directly with the HTML of a laconica site. It is no longer maintained. Recently Allan gave me control of the Net::Identica and Net::Laconica namespaces. I rolled the Net::Identica into my own Net::Twitter, and Net::Laconica I just haven't figured out how to best put it into the module. Basically Laconica has two interfaces for modules to use, the Twitter Compatible API, which you can use Net::Twitter for. What's supported is here: http://laconi.ca/trac/wiki/TwitterCompatibleAPI There is also mention of a Native Laconica API, which does not seem to have gone beyond the discussion phase.If one ever shows up my plan is to make Net::Laconica speak it. You can use Net::Twitter to do anything that Laconica supports by creating the object with Net::Twitter->new() and passing the apiurl, apirealm and apihost fields. For identi.ca these values are 'http://identi.ca/api' 'Laconica API' and 'identi.ca:80 respectively, just change them to your site. Let me know if you have trouble.