in your example code, you probably want to constrain the allowed paths to place where writing your file won't fubar anything. Or maybe you're happy with users writing files anywhere if privs are elevated. In that case you should make that decision explicit with a fake taint avoidance like in your example code m/(.)/ .
my $.02
In reply to Re: Do I really need to untaint from YAML::Tiny file?
by spazm
in thread Do I really need to untaint from YAML::Tiny file?
by proggerguy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |