Perl 5.36.0 will support a Configure option for disabling taint support. This will give a performance boost, for people who never use taint anyway. When built this way, the taint features (e.g. -T and -t) silently do nothing.
This PR skips the taint tests if being run under a perl that was built without taint support.
If you want to test this, you can download 5.35.11 and build a taint-free perl with:
./Configure -Dusedevel -des -Utaint_support
Without this change, if someone builds a taint-free perl they won't be able to install Text::Template, as the testsuite will fail.
Hi,
Perl 5.36.0 will support a Configure option for disabling taint support. This will give a performance boost, for people who never use taint anyway. When built this way, the taint features (e.g. -T and -t) silently do nothing.
This PR skips the taint tests if being run under a perl that was built without taint support.
If you want to test this, you can download 5.35.11 and build a taint-free perl with:
Without this change, if someone builds a taint-free perl they won't be able to install Text::Template, as the testsuite will fail.
Cheers, Neil