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/randname.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/randname.pl')
| -rw-r--r-- | scripts/randname.pl | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/scripts/randname.pl b/scripts/randname.pl index b474c6a..388a78b 100644 --- a/scripts/randname.pl +++ b/scripts/randname.pl @@ -22,7 +22,7 @@ sub randname {  	my $namefile = glob Irssi::settings_get_str('random_realname_file'); -	open (FILE, $namefile) || return; +	open (FILE, "<", $namefile) || return;  	my $lines = 0; while(<FILE>) { $lines++; };  	my $line = int(rand($lines))+1; | 
