pricecharts

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

commit 0935f5aacc90c0abe1b358a06a0ae94d10888364
parent ec27a115485cd0d9736bbd1cf7cfe40fd3c54e7c
Author: Kyle Milz <kyle@getaddrinfo.net>
Date:   Sun, 12 Oct 2014 22:37:15 -0600

product_scraper: move email declaration closer to use

Diffstat:
Mproduct_scraper.pl | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/product_scraper.pl b/product_scraper.pl @@ -33,8 +33,6 @@ $dbh->do("create table if not exists products(" . "last_seen int, " . "last_scraped int)") or die $DBI::errstr; -my $email; - # # Memory Express # @@ -43,6 +41,7 @@ my %product_map = ("televisions" => "Televisions", "laptops" => "LaptopsNotebooks", "hard_drives" => "HardDrives"); +my $email; $email .= "*** Memory Express ***\n\n"; $email .= "product type scraped total new\n"; $email .= "------------ ------- ----- ---\n";