Commit | Line | Data |
a06bfbf4 |
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 |
13 | warn( "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 |
17 | package main; |
18 | use IPC::Open2 'open2'; |
19 | 1 |