diff options
author | Steffen Mueller <smueller@cpan.org> | 2009-09-02 20:14:52 +0200 |
---|---|---|
committer | Steffen Mueller <smueller@cpan.org> | 2009-09-02 20:14:52 +0200 |
commit | 42cb3b6d01c213ff7daf09d23f012bd467bea3aa (patch) | |
tree | 6272d5dafe2b60879784a24221d730301be337f9 /lib | |
parent | d9591f87ff50af3a58bed017b7ac5c2a5c448219 (diff) | |
download | perl-42cb3b6d01c213ff7daf09d23f012bd467bea3aa.tar.gz |
Deprecate importenv.pl with a warning
Diffstat (limited to 'lib')
-rw-r--r-- | lib/importenv.pl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/importenv.pl b/lib/importenv.pl index 0401127f18..75274c2659 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'; |