Hi Jack,
Ruud kindly answered your question about your code; about finding
documentation to explain things, I think any intro on Perl's taint mode
would suffice. perlsec might be something you should read after you've
passed through the introductory material. For example, this page came
up on Google which i found easier to understand for a newbie (like
us...I'm new to taint mode, too, as of a few weeks ago):
http://www.webreference.com/programming/perl/taint/
As you may already know, you basically need to explicitly check that a
value obtained externally (say, through script arguments) is valid
before you can use it. Hope this helps...
Ray
Jack Gates wrote:
Okay now I have a question because I can't find an answer.
The Perl documentation does not answer my question and I can't find an answer
using Google.
...
this and how to fix it? perlsec did not help me at all. My script works when
I take the -T switch out
my $oldfile = $ARGV[0]; # line 22
my $newfile = $ARGV[1]; # line 23
open(OF, $oldfile); # line 25
open(NF, ">$newfile"); # line 26
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/