summaryrefslogtreecommitdiff
path: root/lib/importenv.pl
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2011-07-03 14:25:33 -0600
committerKarl Williamson <public@khwilliamson.com>2011-07-03 14:25:33 -0600
commit1477e5aba4b90c0ec344f8ba6ed52e5deb26e835 (patch)
treeb09b7c205c95c4b4ec5ee23145a01b866f6d574e /lib/importenv.pl
parent993ac2c33312e7e695a914e90dd7a7e1a6cabe31 (diff)
parent17d5d82df211d3a348c01e0ec2d38816bf89823a (diff)
downloadperl-1477e5aba4b90c0ec344f8ba6ed52e5deb26e835.tar.gz
Merge branch 'blead' of ssh://perl5.git.perl.org/perl into blead
Diffstat (limited to 'lib/importenv.pl')
-rw-r--r--lib/importenv.pl21
1 files changed, 0 insertions, 21 deletions
diff --git a/lib/importenv.pl b/lib/importenv.pl
deleted file mode 100644
index 625edf636d..0000000000
--- a/lib/importenv.pl
+++ /dev/null
@@ -1,21 +0,0 @@
-warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
-
-# 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.
-
-;# This file, when interpreted, pulls the environment into normal variables.
-;# Usage:
-;# require 'importenv.pl';
-;# or
-;# #include <importenv.pl>
-
-local($tmp,$key) = '';
-
-foreach $key (keys(%ENV)) {
- $tmp .= "\$$key = \$ENV{'$key'};" if $key =~ /^[A-Za-z]\w*$/;
-}
-eval $tmp;
-
-1;