Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: When not to use taint mode

by Anonymous Monk
on Jun 12, 2021 at 19:21 UTC ( #11133812=note: print w/replies, xml ) Need Help??


in reply to When not to use taint mode

> It seems from this poll that most others don't use it either

Hmmm... Seems to me that the poll is just saying that 3/4 don't know it.

And 2/3 of the rest also use it.

Replies are listed 'Best First'.
Re^2: When not to use taint mode
by LanX (Cardinal) on Jun 13, 2021 at 18:30 UTC
    > Hmmm... Seems to me that the poll is just saying that 3/4 don't know it.

    true, which answers the "when not" for 75%

    More often than not 5/2% Occasionally 21/7% Never 48/16% What is taint mode? 219/75%

    But ...

    > And 2/3 of the rest also use it.

    I think you misread the 16%.

    So (almost) 2/3 of the rest is NOT using it.

    edit

    Anyway I don't think this is a good poll anyway.

    There was no option for "always"

    And if someone is not writing code dealing with untrusted input he'll rightfully say never.

    Not all of us are web-devs, a decent survey would break that down on usage patterns.

    FWIW: PM-Polls are mostly for fun, not information ...

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery

Re^2: When not to use taint mode
by Bod (Deacon) on Jun 13, 2021 at 16:28 UTC
    the poll is just saying that 3/4 don't know it

    If they don't know what taint mode is and it isn't on my default then we can assume that they are not using it...
    Having said that, I didn't realise until I read afoken's answer that Perl will sometimes turn on taint mode without being told.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11133812]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2021-07-27 01:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?