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/grep.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/grep.pl')
| -rw-r--r-- | scripts/grep.pl | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/scripts/grep.pl b/scripts/grep.pl index 976d867..35ce15c 100644 --- a/scripts/grep.pl +++ b/scripts/grep.pl @@ -57,7 +57,7 @@ sub cmd_grep {  	$cmd = join(' ',@args);  	# check if the regexp is valid -	eval("'' =~ /$match/"); +	eval { qr/$match/ };  	if($@) { # there was an error  		chomp $@;  		Irssi::print($@,MSGLEVEL_CLIENTERROR); | 
