pricecharts

track prices of consumer electronics
Log | Files | Refs | README

commit 601efc08e818ec146cfc82374f33653b402c09ec
parent 102c80fe9a0c26359722680f7f32dd5f6f250135
Author: Kyle Milz <kyle@getaddrinfo.net>
Date:   Fri, 24 Oct 2014 01:39:51 -0600

price_scraper: too zealous on scalar removal

Diffstat:
Mprice_scraper.pl | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/price_scraper.pl b/price_scraper.pl @@ -105,7 +105,7 @@ sub get_price my $dom = shift; my @prices = $dom->find($dom_element)->text_array(); - vprintf("\t%s = %i\n", $dom_element, @prices); + vprintf("\t%s = %i\n", $dom_element, scalar @prices); return $prices[0]; }