Re: [Module-build-general] B::Module::Info and taint mode
Status: Beta
Brought to you by:
kwilliams
|
From: Ken W. <ke...@ma...> - 2003-05-26 14:14:06
|
On Monday, May 26, 2003, at 07:03 AM, Scott Bolte wrote: > On Sun, 25 May 2003 21:37:52 -0500, Ken Williams wrote: >> >> I'm not sure I understand - you've got a #!/perl line at the beginning >> of a module file? That's kind of weird, usually you do that in >> scripts, not modules. Or is there some other way to turn on >> taint-checking that I don't know about? > > You are right it is weird. Now that I think about it, it's > also a no-op. I forgot that in the hand built makefiles I'm > trying to replace I explicitly add -T when I invoke each > module's self test. (e.g. perl -T -I. -MX -eX::_self_test). > > I now see Test::Harness will observe -T (or -t) if that is > the first line of a test script. I'll migrate to that and > remove the -T lines in the modules proper. Sounds like a good solution. Glad it's worked out. -Ken |