summaryrefslogtreecommitdiffstats
path: root/scripts/fakectcp.pl
diff options
context:
space:
mode:
authorObfuscoder2014-10-17 22:54:13 +0200
committerObfuscoder2014-10-19 10:28:41 +0200
commitd84f1e1808b3252af83e4963eccfd1e4f19c5326 (patch)
tree18b64164a95e6ba73e50d4ce9938e9760ad8a217 /scripts/fakectcp.pl
parent263a56d196da657b72ccf2b195b50008d6a988dc (diff)
downloadscripts.irssi.org-d84f1e1808b3252af83e4963eccfd1e4f19c5326.tar.bz2
Fix perlcritic issues for all scripts starting with e to l
Diffstat (limited to 'scripts/fakectcp.pl')
-rw-r--r--scripts/fakectcp.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/fakectcp.pl b/scripts/fakectcp.pl
index d86ceab..cc80a9b 100644
--- a/scripts/fakectcp.pl
+++ b/scripts/fakectcp.pl
@@ -139,7 +139,7 @@ sub load_fakectcplist {
if (-e $file) {
local *F;
- open(F, "<$file");
+ open(F, "<", $file);
local $/ = "\n";
while (<F>) {
@@ -162,7 +162,7 @@ sub save_fakectcplist {
my ($file) = @_;
local *F;
- open(F, ">$file") or die "Could not load the fake ctcpreply list for writing";
+ open(F, ">", $file) or die "Could not load the fake ctcpreply list for writing";
for (my $n = 0; $n < @fakectcp; ++$n) {
print(F join("\t", $fakectcp[$n]->{item}, $fakectcp[$n]->{reply}) . "\n");