commit fbc79bba44baea23551a5afb6c1c2a8ffc294342 parent 4cdfb3ffe94c5b375baba16be9ca2413e4e1cee7 Author: Kyle Milz <kyle@getaddrinfo.net> Date: Sat, 8 Nov 2014 15:17:46 -0700 price_scraper: fixup error message Diffstat:
M | price_scraper.pl | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/price_scraper.pl b/price_scraper.pl @@ -63,7 +63,7 @@ for (sort keys $cfg->{vendors}) { my @prices = ($price =~ m/(\d[\d,]+)/); if (@prices != 1) { - msg("r", "error: not exactly one regex match: " . @prices); + msg("r", "error: " . @prices . " regex matches, expecting 1"); next; }