In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/16051fb058c57f589e67cbef1f38bd69bf0a9117?hp=16ccd2bbda17054ebb2186c3b46d33580c893511>
- Log ----------------------------------------------------------------- commit 16051fb058c57f589e67cbef1f38bd69bf0a9117 Author: Chris 'BinGOs' Williams <[email protected]> Date: Sat May 8 12:57:00 2010 +0100 Backport patch from CPANPLUS-0.9004 to cpanp-run-perl This resolves RT #55964 and RT #57106 relating to the failure to install distributions that use Module::Install::DSL The addition of a BEGIN {} block to cpanp-run-perl resolves the issue. ----------------------------------------------------------------------- Summary of changes: cpan/CPANPLUS/bin/cpanp-run-perl | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/cpan/CPANPLUS/bin/cpanp-run-perl b/cpan/CPANPLUS/bin/cpanp-run-perl index 34e62bd..b6b4dc6 100644 --- a/cpan/CPANPLUS/bin/cpanp-run-perl +++ b/cpan/CPANPLUS/bin/cpanp-run-perl @@ -1,10 +1,11 @@ use strict; +BEGIN { my $old = select STDERR; $|++; # turn on autoflush select $old; $|++; # turn on autoflush $0 = shift(@ARGV); # rename the script my $rv = do($0); # execute the file die $@ if $@; # die on parse/execute error - +} ### XXX 'do' returns last statement evaluated, which may be ### undef as well. So don't die in that case. #die $! if not defined $rv; # die on execute error -- Perl5 Master Repository
