warning / Useless use of /d modifier in transliteration operator
This commit is contained in:
parent
757eb8d9fa
commit
aeb36106e2
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ sub getValue {
|
|||
my $self = shift;
|
||||
my $value = $self->SUPER::getValue(@_);
|
||||
$value =~ tr/\r\n//d;
|
||||
$value =~ tr/a-z/A-Z/d;
|
||||
$value =~ tr/a-z/A-Z/;
|
||||
if ($value =~ /^[A-Z\d\s\-]+$/) {
|
||||
return $value;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue