in reply to Re: What's your favourite method of untainting?
in thread What's your favourite method of untainting?
(though I'm not sure why you have $bar twice in the error message...)my $foo = $bar =~ m!(acceptable_value|allowed_value)! ? $1 : die 'Invalid value of tainted $bar: ' . $bar;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: What's your favourite method of untainting?
by kcott (Archbishop) on Nov 10, 2023 at 08:37 UTC | |
Re^3: What's your favourite method of untainting?
by Bod (Parson) on Nov 12, 2023 at 00:26 UTC |