From 55e10f5aeb6d0559518623a432263d4a73d7614b Mon Sep 17 00:00:00 2001 From: Obfuscoder Date: Fri, 24 Oct 2014 23:01:30 +0200 Subject: Fix perlcritic issues for all scripts starting with s to z --- scripts/urlfeed.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/urlfeed.pl') diff --git a/scripts/urlfeed.pl b/scripts/urlfeed.pl index 7d9a8f0..fbbee23 100644 --- a/scripts/urlfeed.pl +++ b/scripts/urlfeed.pl @@ -94,7 +94,7 @@ sub urlfeed_touch_file ($) { return 0; } - eval { open(FH, "+<$f"); }; + eval { open(FH, "+<", $f); }; if ($@) { Irssi::print("URLfeed error: couldn't open $f for writing: $@"); return 0; -- cgit v1.2.3