After a cup of coffee I go on with this workaround but still hoping somebody can explain me why I have to do this.
if ($value =~ /^([\w|\s|\/|\-]+)$/) { $value = $1; } else { die "Reg. exp. failed: $value!\n"; } if ($value =~ /^(.*)$/) { $value = $1; }
So it should be save and it is working. And for those interested in the value of $value ("x123uvw1").
In reply to Re^2: taint mode
by McGaida
in thread taint mode
by McGaida
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |