2 # A really simple template engine
3 # (c) 2004 Martin Mares <mj@ucw.cz>
16 GetOptions('out|o=s' => \$out, 'exec|e=s' => \@execs) or die "Usage: temple [-o <out>] [-e <string>] <in> ...";
19 open STDOUT, ">$out" or die "Cannot open $out: $!";
23 UCW::Temple::parse_string($_);
26 UCW::Temple::parse_file($_);
28 UCW::Temple::finish();