diff options
| author | Obfuscoder | 2014-10-19 11:54:16 +0200 | 
|---|---|---|
| committer | Obfuscoder | 2014-10-19 11:54:16 +0200 | 
| commit | dd80027b51b3ee71027a2612595aee38e38c0d6e (patch) | |
| tree | 0f0b84efd10e9288695d86b69de324c467fe4e7b /scripts/mkshorterlink.pl | |
| parent | 263a56d196da657b72ccf2b195b50008d6a988dc (diff) | |
| download | scripts.irssi.org-dd80027b51b3ee71027a2612595aee38e38c0d6e.tar.bz2 | |
Fix perlcritic issues for all scripts starting with m to r
Diffstat (limited to 'scripts/mkshorterlink.pl')
| -rw-r--r-- | scripts/mkshorterlink.pl | 6 | 
1 files changed, 2 insertions, 4 deletions
| diff --git a/scripts/mkshorterlink.pl b/scripts/mkshorterlink.pl index 5add6d6..6199608 100644 --- a/scripts/mkshorterlink.pl +++ b/scripts/mkshorterlink.pl @@ -14,8 +14,6 @@ use LWP::UserAgent;  use strict;  use vars qw($VERSION %IRSSI); -$VERSION = "0.3"; -  %IRSSI = (  	  'authors'	=> 'Gergely Nagy',  	  'contact'	=> 'algernon\@bonehunter.rulez.org', @@ -165,7 +163,7 @@ sub load_unshortlist {  	my $count = 0;  	local *CONF; -	open CONF, "< $file"; +	open CONF, "<", $file;  	while (<CONF>)  	{  		$noshort{$_} = 1; @@ -181,7 +179,7 @@ sub save_unshortlist {  	my $file = Irssi::get_irssi_dir."/unshortlist";  	local *CONF; -	open CONF, "> $file"; +	open CONF, ">", $file;  	foreach (keys %noshort)  	{  		print CONF $_ if ($noshort{$_}); | 
