diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2015-04-13 19:42:33 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2015-04-13 19:42:33 +0300 |
commit | 6162223690d8a9a3d461a85acdafe9cbef7bf3e5 (patch) | |
tree | 0a3d5f2e351804f8c1ff3e8ab56fbfe04bdc701c /scripts/analysis/show-phrases-used.pl | |
parent | 05b31b53f22abfabb8141b6cd7b0246890d521a1 (diff) |
add use warnings to all perl scripts
Diffstat (limited to 'scripts/analysis/show-phrases-used.pl')
-rwxr-xr-x | scripts/analysis/show-phrases-used.pl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/analysis/show-phrases-used.pl b/scripts/analysis/show-phrases-used.pl index c31e930d5..0a719d207 100755 --- a/scripts/analysis/show-phrases-used.pl +++ b/scripts/analysis/show-phrases-used.pl @@ -5,7 +5,9 @@ #usage: show-phrases-used DECODER_OUTFILE > output.html # where DECODER_OUTFILE is the output of moses with the -T (show alignments) option +use warnings; use strict; + BEGIN { my $wd= `pawd 2>/dev/null`; |