Date: | Fri, 15 Oct 2004 15:08:28 -0700 |
From: | Richard Soderberg <rsoderberg [...] gmail.com> |
To: | bug-Net-Delicious [...] rt.cpan.org |
Subject: | ->posts({ tag => ... }) no longer returning multiple results |
Testing revealed that my instance of Net::Delicious no longer returns
multiple results for posts({ tag => ...}); it worked last week, so I
can't say what changed, but I can say that I had to apply the
following diff to code I wrote last week in order to get it working
with Net::Delicious:
my $del = Net::Delicious->new( { user => "...", pswd => "..." } );
-my @posts = $del->posts( { tag => "website" } );
+my @all = $del->all_posts();
+my @posts = grep { $_->tags() =~ /\bwebsite\b/ } @all;
- R.