Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHieu Hoang <hieuhoang@gmail.com>2015-04-13 19:42:33 +0300
committerHieu Hoang <hieuhoang@gmail.com>2015-04-13 19:42:33 +0300
commit6162223690d8a9a3d461a85acdafe9cbef7bf3e5 (patch)
tree0a3d5f2e351804f8c1ff3e8ab56fbfe04bdc701c /scripts/analysis/show-phrases-used.pl
parent05b31b53f22abfabb8141b6cd7b0246890d521a1 (diff)
add use warnings to all perl scripts
Diffstat (limited to 'scripts/analysis/show-phrases-used.pl')
-rwxr-xr-xscripts/analysis/show-phrases-used.pl2
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`;