No such thing as a small change | |
PerlMonks |
Re: Debugging a module that's failing under taint modeby kcott (Archbishop) |
on Jul 01, 2021 at 21:47 UTC ( [id://11134559]=note: print w/replies, xml ) | Need Help?? |
G'day Bod, ++ for seeking general understanding and guidance rather than putting your hand out for a specific solution.
As a general rule, you should be checking for taintedness in your module's tests, rather than discovering it later when you use the module. Given a module, Some::Module, which lives in /path/to/Some-Module/, I would typically have something very close to this as my first test (/path/to/Some-Module/t/00-load.t):
— Ken
In Section
Seekers of Perl Wisdom
|
|