tainting - Enable taint mode lexically
version 0.01
To enable tainting in a lexical block:
{ use tainting; # tainting is enabled } # tainting is disabled again
To disable tainting in a lexical block:
use tainting; { no tainting; # tainting is disabled } # tainting is enabled again
This module provides a simpler interface to Taint::Runtime. The idea is so that there is no functions or variables to import. Just use or no, like warnings or strict. Tainting of %ENV will be done one time automatically the first time this module is used.
use
no
%ENV
Please (PLEASE) read Taint::Runtime's documentation first about the pro's and con's of enabling/disabling tainting at runtime. TL;DR: Use -T if you can.
Taint::Runtime
Steven Haryanto <stevenharyanto@gmail.com>
This software is copyright (c) 2012 by Steven Haryanto.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install tainting, copy and paste the appropriate command in to your terminal.
cpanm
cpanm tainting
CPAN shell
perl -MCPAN -e shell install tainting
For more information on module installation, please visit the detailed CPAN module installation guide.