Revision: 91
Author: tim.bunce
Date: Tue Aug 11 06:11:40 2009
Log: Added :all to use autodie so system() gets checked.
Added time to java2perl6 call.
Added note to TODO.

http://code.google.com/p/java2perl6/source/detail?r=91

Modified:
 /trunk/TODO
 /trunk/mkjdbc.pl

=======================================
--- /trunk/TODO Tue Aug 11 05:31:32 2009
+++ /trunk/TODO Tue Aug 11 06:11:40 2009
@@ -20,3 +20,5 @@
 Write some tests that run perl6 code that consumes a generated role.

 Polish Makefile.PL/META.yml etc. for release.
+
+Add way to specify extra/overriding type mappings externally.
=======================================
--- /trunk/mkjdbc.pl    Tue Aug  4 16:18:14 2009
+++ /trunk/mkjdbc.pl    Tue Aug 11 06:11:40 2009
@@ -4,7 +4,7 @@

 use strict;
 use warnings;
-use autodie;
+use autodie qw(:all);
 use Cwd qw(getcwd);

 my $outdir = 'jdbclib';
@@ -15,7 +15,7 @@

 system qq{rm -rf $outdir.prev; mv -f $outdir $outdir.prev};

-system qq{perl -Mblib blib/script/java2perl6 --outdir $outdir --recurse --nest --check `cat jdbc_classes.txt`}; +system qq{time perl -Mblib blib/script/java2perl6 --outdir $outdir --recurse --nest --check @ARGV `cat jdbc_classes.txt`};

 system qq{diff -r -u $outdir.prev $outdir} if -d "$outdir.prev";

Reply via email to