diff options
| author | David Leadbeater | 2015-01-10 17:00:55 +0000 |
|---|---|---|
| committer | David Leadbeater | 2015-01-10 17:00:55 +0000 |
| commit | 6fa0cda4b3f7d54d5835fe580795e4f35980cc28 (patch) | |
| tree | 5f38704d7c9babab81a9c2b895efa2cbe968f178 /scripts/away2web.pl | |
| parent | cbbdf2a1d93dbb64d3fb34346e9c57b14dfa2931 (diff) | |
| parent | d2b44a7bb135579368f93e7d4824480c000eaa64 (diff) | |
| download | scripts.irssi.org-6fa0cda4b3f7d54d5835fe580795e4f35980cc28.tar.bz2 | |
Merge pull request #78 from obfuscoder/perlcritic-a
Fix perlcritic issues for all scripts starting with a
Diffstat (limited to 'scripts/away2web.pl')
| -rw-r--r-- | scripts/away2web.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/away2web.pl b/scripts/away2web.pl index 3077b9b..7414c23 100644 --- a/scripts/away2web.pl +++ b/scripts/away2web.pl @@ -35,7 +35,7 @@ use Irssi 20020324; sub catch_away { my $server = shift; - open(STATUSFILE, '> '.$ENV{'HOME'}.'/.irssi/away2web-status') || die ("away2web.pl: Could not open file for writing:".$!); + open(STATUSFILE, q{>}, $ENV{'HOME'}.'/.irssi/away2web-status') || die ("away2web.pl: Could not open file for writing:".$!); if ($server->{usermode_away}) { # User is offline. |
