in reply to Question about untainting data
Strictly speaking this is not untainting. If this is insecure in any way, please inform me.<snip> if ($user_input eq "do this") { &sub_a; } elseif ($user_input eq "do that") { &sub_b; } else { &error("","unexpected input","The input you supplied is not supporte +d"); } </snip>
neophyte
|
|---|