in reply to Re^2: Taint, CGI and perl 5.10
in thread Taint, CGI and perl 5.10

The above does exactly what you said except it gives no error with 5.10.0.