NAME
tainting - Enable taint mode lexically
VERSION
This document describes version 0.02 of tainting (from Perl distribution tainting), released on 2017-07-04.
SYNOPSIS
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
DESCRIPTION
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.
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.
HOMEPAGE
Please visit the project's homepage at https://metacpan.org/release/tainting.
SOURCE
Source repository is at https://github.com/sharyanto/perl-tainting.
BUGS
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=tainting
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
SEE ALSO
AUTHOR
perlancar <perlancar@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2017, 2012 by perlancar@cpan.org.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.