[interchange-cvs] interchange - jon modified eg/check_perl_itl

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Wed Apr 30 16:50:36 UTC 2008


User:      jon
Date:      2008-04-30 16:50:36 GMT
Modified:  eg       check_perl_itl
Log:
Update to check_perl_itl from Greg Sabino Mullane to catch alternate Perl error string.

Revision  Changes    Path
1.3                  interchange/eg/check_perl_itl


rev 1.3, prev_rev 1.2
Index: check_perl_itl
===================================================================
RCS file: /var/cvs/interchange/eg/check_perl_itl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -u -r1.2 -r1.3
--- check_perl_itl	28 Apr 2008 19:31:34 -0000	1.2
+++ check_perl_itl	30 Apr 2008 16:50:36 -0000	1.3
@@ -7,7 +7,7 @@
 use warnings;
 use Getopt::Long;
 
-our $VERSION = '1.1.1';
+our $VERSION = '1.1.2';
 
 @ARGV or show_help();
 
@@ -155,7 +155,7 @@
     my $errors = qx{perl -c $tempfile 2>&1};
     unlink $tempfile unless $opt->{keeptempfile};
 
-    if ($errors !~ /had compilation errors/) {
+    if ($errors !~ /had compilation errors/ and $errors !~ /too many errors/) {
         print qq{File "$file" had no Perl problems\n} unless $opt->{quiet};
         return;
     }







More information about the interchange-cvs mailing list