ghenry has asked for the wisdom of the Perl Monks concerning the following question:
Dear all,
Has anyone done a workaround or similar when using Pod::Usage and Taint Mode, with the --man option?
I keep getting on Linux (Fedora Core 5, perl 5.8.8):
Script code has:Insecure dependency in system while running with -T switch at /usr/lib +/perl5/5.8.8/Pod/Usage.pm line 547.
and offending Pod::Usage code is:pod2usage( -verbose => 2 ) if $options{man};
539 ## Now translate the pod document and then exit with the desir +ed status 540 if ( !$opts{"-noperldoc"} 541 and $opts{"-verbose"} >= 2 542 and !ref($opts{"-input"}) 543 and $opts{"-output"} == \*STDOUT ) 544 { 545 ## spit out the entire PODs. Might as well invoke perldoc 546 my $progpath = File::Spec->catfile($Config{scriptdir}, "per +ldoc"); 547 system($progpath, $opts{"-input"}); 548 } 549 else { 550 $parser->parse_from_file($opts{"-input"}, $opts{"-output"}) +; 551 } 552 553
Thanks,
Gavin.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Pod::Usage and Taint Mode
by herveus (Prior) on May 26, 2006 at 11:19 UTC | |
by ghenry (Vicar) on May 26, 2006 at 13:09 UTC | |
by mamawe (Sexton) on May 05, 2009 at 14:36 UTC | |
by ghenry (Vicar) on May 15, 2009 at 23:16 UTC | |
Re: Pod::Usage and Taint Mode (%opts)
by tye (Sage) on May 26, 2006 at 14:42 UTC | |
Re: Pod::Usage and Taint Mode
by Anonymous Monk on Oct 30, 2011 at 14:41 UTC |