From: Steffen Mueller Date: Wed, 2 Sep 2009 21:04:31 +0000 (+0200) Subject: Deprecate tainted.pl with a warning X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e9a927b58cfb908fb66a58427a00c931c84d0d87;p=p5sagit%2Fp5-mst-13.2.git Deprecate tainted.pl with a warning --- diff --git a/lib/tainted.pl b/lib/tainted.pl index 6e24867..388adf4 100644 --- a/lib/tainted.pl +++ b/lib/tainted.pl @@ -1,4 +1,10 @@ +# This legacy library is deprecated and will be removed in a future +# release of perl. # This subroutine returns true if its argument is tainted, false otherwise. +# +warn( "The 'tainted.pl' legacy library is deprecated and will be" + . " removed in the next major release of perl. Please use the" + . " Scalar::Util module ('tainted' function) instead." ); sub tainted { local($@);