in reply to Taint unsafe modules

How about untainting your data? I think that perlsec explains how to do that.