Removed a redundant |scalar()| -- |if| implies a scalar context anyway.

git-svn-id: svn://10.0.0.236/trunk@111067 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ian%hixie.ch 2001-12-26 16:05:54 +00:00
parent 4ec7cf70bc
commit 0a0d76f22a

View File

@ -89,7 +89,7 @@ sub getCustomisedString {
# XXX do we want to do an error here or something?
$self->warn(4, "While I was looking for the string '$string' in protocol '$protocol' using variant '$variant', I failed with: $@");
}
if (scalar(@results)) {
if (@results) {
$self->stringsCache->{$variant}->{$string} = \@results;
return @results;
} else {