Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Taint mode testing a module

by Khen1950fx (Canon)
on Oct 17, 2012 at 20:33 UTC ( #999604=note: print w/replies, xml ) Need Help??


in reply to Taint mode testing a module

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.

Replies are listed 'Best First'.
Re^2: Taint mode testing a module
by mrider (Beadle) on Oct 17, 2012 at 20:45 UTC
    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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://999604]
help
Chatterbox?
[marto]: good morning all
[Corion]: Hi marto! ;)
[Discipulus]: morning both!
[Corion]: Hi Discipulus!

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (9)
As of 2017-02-27 10:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (378 votes). Check out past polls.