[Module-build-general] B::Module::Info and taint mode
Status: Beta
Brought to you by:
kwilliams
|
From: Scott B. <lis...@ni...> - 2003-05-24 12:23:00
|
The Module::Build code scans my perl modules to see which packages are used by each module. Unfortunately, if a module has -T to enable taint mode, the call to the O module fails. For example: % ./Build test Scanning lib/FIFO.pm for packages B::Module::Info,packages use failed with 255 saying: Too late for "-T" option at /home/user/Dev/lib/FIFO.pm line 1. That is really calling: % perl -MO=Module::Info,packages /home/user/Dev/lib/FIFO.pm Too late for "-T" option at /home/user/Dev/lib/FIFO.pm line 1. If $extra_args in Module::Info::_call_B() is set to -T things work fine. Should it be Module::Build's responsibility to detect the need for -T, or is this a bug report for the O module? Scott |