App-BarnesNoble-WishListMinder
view release on metacpan or search on metacpan
lib/App/BarnesNoble/WishListMinder.pm view on Meta::CPAN
{
my ($self, $wishlist_id) = @_;
my %existing_priority;
my $s = $self->dbh->prepare(<<'');
SELECT ean, priority FROM wishlist_books
WHERE wishlist_id = ? AND date_removed IS NULL
$s->execute($wishlist_id);
$s->bind_columns( \( my ($ean, $priority) ) );
while ($s->fetch) {
$existing_priority{$ean} = $priority;
}
\%existing_priority;
} # end get_existing_books
sub get_wishlist_id
{
my ($self, $wishlist_url) = @_;
( run in 1.975 second using v1.01-cache-2.11-cpan-2398b32b56e )