This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
untodo the no-longer-failing todo test for rgs' patch
[perl5.git] / lib / open2.pl
CommitLineData
a06bfbf4
S
1# This legacy library is deprecated and will be removed in a future
2# release of perl.
3#
7e1af8bc 4# This is a compatibility interface to IPC::Open2. New programs should
5# do
ee0007ab 6#
7e1af8bc 7# use IPC::Open2;
ee0007ab 8#
7e1af8bc 9# instead of
10#
11# require 'open2.pl';
ee0007ab 12
a06bfbf4
S
13warn( "The 'open2.pl' legacy library is deprecated and will be"
14 . " removed in the next major release of perl. Please use the"
15 . " IPC::Open2 module instead." );
16
7e1af8bc 17package main;
18use IPC::Open2 'open2';
191