Subject: | destroy_status method not working anymore |
Date: | Thu, 22 Jan 2009 11:05:08 -0500 |
To: | bug-Net-Twitter [...] rt.cpan.org |
From: | David Moreno <david [...] axiombox.com> |
Since I upgraded to Net::Twitter 2.01, the destroy_status() method
stopped working. I have a script that removes some tweets on a profile
given a certain set of rules. However, this:
use Net::Twitter;
my $t = Net::Twitter->new(username => "damog", password => "whatever");
$t->destroy_status(1134869571);
Now returns:
Argument is not a HASHREF. Discarding request at script.pl line 12
However, that's the way it' documented on the destroy_status(). It's not
specified to pass a different argument to the method.
Trying to pass a hashref:
$t->destroy_status(id => 1134869571);
also fails with the previous request.
I believe this is a bug on Net::Twitter or I'm doing something very
wrong and I don't see it.
D.