#!/usr/bin/perl
#-->cgi:/home/jj/public_html/bin/prince2
use strict;
use CGI::Auto;
use CGI ":standard";
use utf8;
CGI::Auto::auto(
title => "WebPrince: Xml + Css = PDF",
description => hr,
-begin => hr,
-end => hr,
command => qq{ prince [%f(xml)] -s [%f(css)] -o [%outfile(out_prince.pdf)]},
# email => { type => "attach" , from => "ambs\@di.uminho.pt" },
debug => 1,
dir => "/tmp/lixo",
type => "batch",
email => { type => "attach" },
email_from => 'jj-ps@di.uminho.pt',
local_publish => "/home/jj/public_html/ttt",
web_publish => "http://natura.di.uminho.pt/~jj/ttt",
);