pricecharts

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

commit 066db85643c2aa5aaa7bebfd33d9a38542b9ca01
parent 48904447369f47013ac23250bf6a157a6ec1e873
Author: Kyle Milz <kyle@getaddrinfo.net>
Date:   Sun, 12 Oct 2014 22:21:18 -0600

shared: newline after var declarations

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

diff --git a/shared.pm b/shared.pm @@ -23,6 +23,7 @@ sub get_dom sub get_config { my $cfg_file = shift; + if (!defined $cfg_file) { if (-e "pricechart.cfg") { $cfg_file = "pricechart.cfg"; @@ -51,7 +52,6 @@ sub get_config ], }, }); - return $parser->parse($cfg_file) or die "ERROR: $parser->{err}\n"; }