diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-09-04 09:58:53 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-09-04 09:58:53 -0700 |
commit | 23a8b6ecd0498dc5a6512cbb9e1aeca4bf5dd61b (patch) | |
tree | 64c53ecfb01bd9030188ab27adc2b7ee858f6c9a | |
parent | 8855b17a2dc84b50da6e9a5f9ccffdf942bc8c94 (diff) | |
parent | 53058ed98a3bb1340be23e907960524fd26c4c73 (diff) |
Merge pull request #27 from preaction/perl-changes
Perl changes
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | runtests.pl | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -24,6 +24,7 @@ *~ *.bak +*.swp *.diff *# scanners.c diff --git a/runtests.pl b/runtests.pl index 2e2b795..1dfdcf6 100644 --- a/runtests.pl +++ b/runtests.pl @@ -1,9 +1,12 @@ #!/usr/bin/env perl +use 5.006; use warnings; use strict; +use utf8; use Term::ANSIColor; use IO::Handle; use IPC::Open2; +$|++; my $usage="runtests.pl SPEC PROGRAM\nSet ANSI_COLORS_DISABLED=1 if you redirect to a file.\nSet PATT='...' to restrict tests to sections matching a regex.\n"; |