From: Steffen Mueller Date: Wed, 2 Sep 2009 18:14:52 +0000 (+0200) Subject: Deprecate importenv.pl with a warning X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=42cb3b6d01c213ff7daf09d23f012bd467bea3aa;p=p5sagit%2Fp5-mst-13.2.git Deprecate importenv.pl with a warning --- diff --git a/lib/importenv.pl b/lib/importenv.pl index 0401127..75274c2 100644 --- a/lib/importenv.pl +++ b/lib/importenv.pl @@ -1,3 +1,12 @@ +# This library is no longer being maintained, and is included for backward +# compatibility with Perl 4 programs which may require it. +# This legacy library is deprecated and will be removed in a future +# release of perl. + +warn( "The 'importenv.pl' legacy library is deprecated and will be" + . " removed in the next major release of perl. Please use the" + . " Env::Export module (or similar) from CPAN instead." ); + ;# This file, when interpreted, pulls the environment into normal variables. ;# Usage: ;# require 'importenv.pl';