summaryrefslogtreecommitdiff
path: root/sv.h
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-11-26 12:42:55 -0800
committerFather Chrysostomos <sprout@cpan.org>2011-11-26 14:33:47 -0800
commitc98cdb04502ba0aae0ece3aede682de0a5ebad86 (patch)
treee613f31781b2f12ec513f181ffffbc33c549bba0 /sv.h
parent97409e817d4758697aa4e2a92d287cb9a1d26b6a (diff)
downloadperl-c98cdb04502ba0aae0ece3aede682de0a5ebad86.tar.gz
[perl #97632] Improve SvTAINT docs
Copied almost verbatim from text supplied by Kevin Ryde.
Diffstat (limited to 'sv.h')
-rw-r--r--sv.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sv.h b/sv.h
index 360a2496a5..ca152545ab 100644
--- a/sv.h
+++ b/sv.h
@@ -1374,7 +1374,11 @@ standard perl fashion, via a carefully crafted regexp, rather than directly
untainting variables.
=for apidoc Am|void|SvTAINT|SV* sv
-Taints an SV if tainting is enabled.
+Taints an SV if tainting is enabled, and if some input to the current
+expression is tainted--usually a variable, but possibly also implicit
+inputs such as locale settings. C<SvTAINT> propagates that taintedness to
+the outputs of an expression in a pessimistic fashion; i.e., without paying
+attention to precisely which outputs are influenced by which inputs.
=cut
*/