in reply to Insecure dependency in open while running with -T switch

Chapter 2, "Secure Programming Techniques", of Mastering Perl explains it all. You untaint data by capturing it in a regular expression and using the captured parts. Taint mode affects $ENV{PATH} stops you when you try to run an external command without the full path if you haven't already cleansed $ENV{PATH}.

Good luck, :)

--
brian d foy <brian@stonehenge.com>
Subscribe to The Perl Review