(though I'm not sure why you have $bar twice in the error message...)... : die 'Invalid value of tainted $bar: ' . $bar;
First $bar is within single quotes, so not interpolated; second $bar is interpolated. die message will look like this:
Invalid value of tainted $bar: tainted_bar_value ...
— Ken
In reply to Re^3: What's your favourite method of untainting?
by kcott
in thread What's your favourite method of untainting?
by Corion
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |