diff options
author | Steffen Mueller <smueller@cpan.org> | 2009-09-02 23:03:53 +0200 |
---|---|---|
committer | Steffen Mueller <smueller@cpan.org> | 2009-09-02 23:03:53 +0200 |
commit | 155f9b97008e73be0bb5f1feb882805e21da3999 (patch) | |
tree | 7cf4b57085c7a95292179bc52874c3c1b858a85d /lib/open3.pl | |
parent | a06bfbf46ad8e21060b59ed409ba2f87fbfcdc35 (diff) | |
download | perl-155f9b97008e73be0bb5f1feb882805e21da3999.tar.gz |
Deprecate open3.pl with a warning
Diffstat (limited to 'lib/open3.pl')
-rw-r--r-- | lib/open3.pl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/open3.pl b/lib/open3.pl index 7fcc931861..ab7fa5fe05 100644 --- a/lib/open3.pl +++ b/lib/open3.pl @@ -1,3 +1,6 @@ +# This legacy library is deprecated and will be removed in a future +# release of perl. +# # This is a compatibility interface to IPC::Open3. New programs should # do # @@ -7,6 +10,10 @@ # # require 'open3.pl'; +warn( "The 'open3.pl' legacy library is deprecated and will be" + . " removed in the next major release of perl. Please use the" + . " IPC::Open3 module instead." ); + package main; use IPC::Open3 'open3'; 1 |