I would start by testing for untaintedness. For example, your
script to test loading shouldn't be tainted. Take a look at
Test::Taint by petdance. It doesn't get any
better than that.
Awesome! That was precisely what I was looking for. Thanks!!
And yes, I'm testing non-tainted mode first. I just want to make sure that my code behaves well with the taint flag now while I'm working on it and it's fresh in my mind, rather than being surprised a few weeks, months, or even years down the road.