pricecharts

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

commit eaee0ebafa8943232ef3d6e1a029f5e1e431f8d8
parent 3eed090a6137a559a67a099627d226781625a6b1
Author: Kyle Milz <kyle@getaddrinfo.net>
Date:   Sun, 15 Mar 2015 21:31:03 -0600

PriceChart: move info print to before action

Diffstat:
MPriceChart.pm | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PriceChart.pm b/PriceChart.pm @@ -57,6 +57,7 @@ sub get_dbh my $verbose = shift || undef; mkdir $db_dir; + print "info: get_dbh: opening $db_dir/pricechart.db\n" if ($verbose); my $dbh = DBI->connect( "dbi:SQLite:dbname=$db_dir/pricechart.db", "", @@ -64,7 +65,6 @@ sub get_dbh {RaiseError => 1} ) or die $DBI::errstr; - print "info: get_dbh: opened $db_dir/pricechart.db\n" if ($verbose); return $dbh; }