http://qs1969.pair.com?node_id=640094

perlknight has asked for the wisdom of the Perl Monks concerning the following question:

Could someone explains why this detects if a variable is tainted?
return ! eval { join('',@_), kill 0; 1; }; }
I assume the key is "vairable,kill 0". I checked the kill func, it returns 0 on success and > 0 on failure. So kill 0 will always return success; Does this mean the variable you pass into this function is always going to come out tainted? Thanks.