use strict; use warnings; use Test::More; eval "use Test::Script"; plan skip_all => 'Test::Script required' if $@; plan tests => scalar(@ARGV); foreach(@ARGV) { script_compiles($_); }