Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

How often do you use taint mode?

by Arunbear (Prior)
on Dec 01, 2020 at 10:10 UTC ( #11124448=poll: print w/replies, xml ) Need Help??

vote on How often do you use taint mode?

More often than not
[bar] 5/2%
Occasionally
[bar] 21/7%
Never
[bar] 48/16%
What is taint mode?
[bar] 219/75%
293 total votes
Replies are listed 'Best First'.
Re: How often do you use taint mode?
by thomas895 (Deacon) on Dec 02, 2020 at 06:23 UTC

    I use it mainly out of habit more than anything else. I have a few random CGI scripts on my shared hosting for small personal utilities and it's just habit to start with #!/usr/bin/perl -wT even though I am the only person who will ever use them.

    -Thomas
    "Excuse me for butting in, but I'm interrupt-driven..."
Re: How often do you use taint mode?
by tobyink (Canon) on Dec 02, 2020 at 01:20 UTC

    I don't think I've used it in the last decade or so.

Re: How often do you use taint mode?
by talexb (Canon) on Dec 12, 2020 at 19:33 UTC

    Probably used it ages ago for forms that were open to the entire Internet .. the forms I've used more recently are internal, so I get by with placeholders for anything that goes into the database. Recently .. nope.

    Alex / talexb / Toronto

    Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.

Re: How often do you use taint mode?
by swampyankee (Parson) on Dec 19, 2020 at 15:29 UTC

    Since everything I've done was for internal consumption only, and had no access to the Internet or write-access to any databases, there seemed to be no reason to use it.


    Information about American English usage here and here. Floating point issues? Please read this before posting. — emc

Re: How often do you use taint mode?
by kcott (Bishop) on Jan 01, 2021 at 05:03 UTC

    I tend to start most NN-whatever.t with

    #!perl -T

    This is generally more out of habit than anything else. It occasionally finds some minor security hole that I can plug.

    — Ken

View List Of Past Polls


Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (10)
As of 2021-01-15 14:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?