top level munging script
Matt S Trout [Sun, 5 Jul 2009 15:14:53 +0000 (16:14 +0100)]
scripts/munge [new file with mode: 0644]

diff --git a/scripts/munge b/scripts/munge
new file mode 100644 (file)
index 0000000..120c9a5
--- /dev/null
@@ -0,0 +1,16 @@
+#!/usr/bin/env perl
+
+use strict;
+use warnings;
+use IronMunger;
+use File::Path qw(rmtree);
+use File::Copy::Recursive qw(dircopy);
+
+rmtree('output');
+dircopy('share','output');
+
+my $munger = IronMunger->load_from_plagger('csv');
+
+print $munger->debug_dump;
+
+$munger->save_monger_stats('output');