Skip Menu |

This queue is for tickets about the WWW-Amazon-Wishlist CPAN distribution.

Report information
The Basics
Id: 48945
Status: resolved
Priority: 0/
Queue: WWW-Amazon-Wishlist

People
Owner: MTHURN [...] cpan.org
Requestors: RSOD [...] cpan.org
Cc:
AdminCc:

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



Subject: patch to silence a warning in amazonwish
attached patch silences a warning in amazonwish encountered on US wishlist 6JX9XSIN6VL5 while debugging 2.002 get_list issues
Subject: add_length_to_amazonwish.diff
--- /opt/local/bin/amazonwish 2009-07-23 14:08:11.000000000 -0700 +++ ./amazonwish 2009-08-23 08:35:32.000000000 -0700 @@ -167,7 +167,7 @@ printf "\n"; } - $total += $book{'price'} unless (!defined $book{'price'} || $book{'price'} =~ /unavailable/i); + $total += $book{'price'} unless (!defined $book{'price'} || !length $book{'price'} || $book{'price'} =~ /unavailable/i); }
Thank you, will be incorporated in next release.