From: Steffen Mueller Date: Wed, 2 Sep 2009 21:03:53 +0000 (+0200) Subject: Deprecate open3.pl with a warning X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=155f9b97008e73be0bb5f1feb882805e21da3999;p=p5sagit%2Fp5-mst-13.2.git Deprecate open3.pl with a warning --- diff --git a/lib/open3.pl b/lib/open3.pl index 7fcc931..ab7fa5f 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