tainting(3pm)
β¨ tainting(3pm) β the manual page, but make it cute β¨
okay bestie, gather round, because we're talking about tainting(3pm) π
this is the User Contributed Perl Documentation version, and honestly? it's a little messy but we're gonna get through it together π«Ά
π NAME π
tainting β (DEPRECATED) Enable taint mode lexically
okay so the word DEPRECATED is right there in the name. that's not a vibe, that's a warning label. noted. π
πΈ VERSION πΈ
This document describes version 0.031 of tainting (from Perl distribution tainting), released on 2021-08-06. π
β¨ 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
see how it flips back the second the block ends? that's the lexical part and it's giving main character energy ngl π
π DESCRIPTION π
DEPRECATION NOTICE:tainting.pmis broken and will be purged from CPAN because the lexical switching is done at compile time while tainting is performed at runtime. Please seeTaint::Runtimeand localize$TAINTinstead.
not me having to say this but yeah, she's broken π it's a timing thing: the lexical switching happens at compile time, but tainting actually happens at runtime, and those two are simply not syncing. it's giving long-distance relationship that didn't work out. so the whole thing is getting yeeted off CPAN. use Taint::Runtime and localize $TAINT instead, okay? π«Ά
okay so for the historical record, here's what she was supposed to do:
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. π
fr fr, read the other docs first. the -T advice is the real one. don't skip it. π
π§ CONTRIBUTOR π§
Steven Haryanto <sharyanto@cpan.org>
π HOMEPAGE π
Please visit the project's homepage at <https://metacpan.org/release/tainting>. π
β SOURCE β
Source repository is at <https://github.com/perlancar/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. (yes queen, bring receipts, that's how you get it fixed π )
π SEE ALSO π
Taint::Runtime
π«Ά AUTHOR π«Ά
perlancar <perlancar@cpan.org>
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2021, 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.
and that's the whole page bestie, no cap π this was tainting(3pm), generated by perl v5.32.1, dated 2021-09-19 β stay tainted (or don't, honestly, use -T), mwah πβ¨
π¦ where this page comes from
- debian bookworm: libtainting-perl 0.031-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libtainting-perl 0.031-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libtainting-perl 0.031-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libtainting-perl 0.031-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libtainting-perl 0.031-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libtainting-perl 0.031-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms