[libcode-tidyall-perl] 47/374: can't redirect to scalar stderr

Jonas Smedegaard js at alioth.debian.org
Sun Sep 29 22:25:47 UTC 2013


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository libcode-tidyall-perl.

commit bd92d09df6e79701267f0474c73c6cb88129b95d
Author: Jonathan Swartz <swartz at pobox.com>
Date:   Mon Jun 25 23:08:33 2012 -0700

    can't redirect to scalar stderr
---
 lib/Code/TidyAll/Plugin/PerlTidy.pm |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/lib/Code/TidyAll/Plugin/PerlTidy.pm b/lib/Code/TidyAll/Plugin/PerlTidy.pm
index c86f077..653cc28 100644
--- a/lib/Code/TidyAll/Plugin/PerlTidy.pm
+++ b/lib/Code/TidyAll/Plugin/PerlTidy.pm
@@ -20,10 +20,8 @@ sub process_source {
     &$perl_tidy_function(
         %params,
         source      => \$source,
-        destination => \my $destination,
-        stderr      => \my $stderr,
+        destination => \my $destination
     );
-    die $stderr if $stderr;
     return $destination;
 }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcode-tidyall-perl.git



More information about the Pkg-perl-cvs-commits mailing list