diff options
| author | Obfuscoder | 2014-10-17 22:54:13 +0200 | 
|---|---|---|
| committer | Obfuscoder | 2014-10-19 10:28:41 +0200 | 
| commit | d84f1e1808b3252af83e4963eccfd1e4f19c5326 (patch) | |
| tree | 18b64164a95e6ba73e50d4ce9938e9760ad8a217 /scripts/licq.pl | |
| parent | 263a56d196da657b72ccf2b195b50008d6a988dc (diff) | |
| download | scripts.irssi.org-d84f1e1808b3252af83e4963eccfd1e4f19c5326.tar.bz2 | |
Fix perlcritic issues for all scripts starting with e to l
Diffstat (limited to 'scripts/licq.pl')
| -rw-r--r-- | scripts/licq.pl | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/scripts/licq.pl b/scripts/licq.pl index cc7b1ec..92a83a1 100644 --- a/scripts/licq.pl +++ b/scripts/licq.pl @@ -1,3 +1,5 @@ +use strict; +use vars qw($VERSION %IRSSI);  $VERSION = "0.5";  %IRSSI = (      authors     => "Jari Matilainen", @@ -25,7 +27,7 @@ sub licq {  		my $filename = "$rdir" . "$_";  		if(-e $filename) { -			open(FILE, $filename); +			open(FILE, "<", $filename);    			$_ = "";    			$_ = <FILE> until /NewMessages/;    			my @total = split / /, $_; | 
