in reply to taint::CGI

This shouldn't be a pragma, try something like CGI::EnvNtaint or Taint::EnvForCGI or Untaint::EnvForCGI. Also, there is no L<taint>, so you need to relink that. Also, you can make this work with 5.005 or older versions, so you might as well go ahead and do that.
Just my 1 cent, John