With the untaint function of the new Taint::Util module.
In reply to Re: What's your favourite method of untainting? by ambrus in thread What's your favourite method of untainting? by Corion