This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Actually note that Shell.pm is deprecated for 5.13 and 5.14, so we can
authorJesse Vincent <jesse@bestpractical.com>
Tue, 18 May 2010 16:17:24 +0000 (12:17 -0400)
committerJesse Vincent <jesse@bestpractical.com>
Tue, 18 May 2010 16:17:24 +0000 (12:17 -0400)
remove it in 5.15 in the Spring of 2011.

cpan/Shell/Shell.pm

index 72c7ec2..66a0c6b 100644 (file)
@@ -9,6 +9,8 @@ our($capture_stderr, $raw, $VERSION, $AUTOLOAD);
 $VERSION = '0.72_01';
 $VERSION = eval $VERSION;
 
+use if $] >= 5.011, 'deprecate';
+
 sub new { bless \my $foo, shift }
 sub DESTROY { }