It's not a case of your password or your system or any password or system in particular. Remember, perl is a general purpose tool, used by many people in many situations, and the tainting mechanism is designed to help protect everyone who uses it.

It works like this. If data (string, numbers, filenames, whatever) comes into your program from an external source, then, when you use -T, you are asking perl to warn you when you try to use that data in a way that could be dangerous in some situations, until you untaint it.

Untainting, means using a regex to inspect and modify the contents of that data. At this point, perl says "Okay. You got data from an external source, you've 'edited it', I cannot predict what type of editing is required to make that data safe, so I must assume that you--the programmer--know what you are doing, so now I will let you use that edited data in whatever way you want!".

In other words. You asked perl to tell you when you attempted to do something dangerous with external input. It did. Now it is up to you to take those steps to untaint the data in whatever way you believe will make it safe.

The risk is yours to access and the steps are yours to take.


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller



In reply to Re: Re: Error using -T... by BrowserUk
in thread Error using -T... by powerhouse

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.