p4raw-id: //depot/perl@30905
our($capture_stderr, $raw, $VERSION, $AUTOLOAD);
-$VERSION = '0.7';
+$VERSION = '0.72';
sub new { bless \my $foo, shift }
sub DESTROY { }
=begin private
-=over
-
=item B<_make_cmd>
$sub = _make_cmd($cmd);
Creates a closure which invokes the system command C<$cmd>.
-=back
-
=end private
=cut
BEGIN {
if( $ENV{PERL_CORE} ) {
- chdir 't' if -d 't';
- @INC = '../lib';
+ chdir 't' if -d 't';
+ @INC = '../lib';
}
}
}
END { -f $tmpfile && (open STDERR, '>&SAVERR' and unlink $tmpfile) }
+no warnings 'once';
+# no false warning about Name "main::SAVERR" used only once: possible typo
open(SAVERR, ">&STDERR");
open(STDERR, ">$tmpfile");