hamidafshar has asked for the wisdom of the Perl Monks concerning the following question:
Thanks for your wisdom.my $vars = {title => '', rows => \@rows, inv_add => \@inv_rows}; my $temp = '/tmp/TEST_'.$inv_no.'_'.$$; my $file = $temp.".tex"; $tt->process('printInvoice.tmpl', $vars, $file) || die $tt->error(); system("Can I write something here of some use???"); print header(-type=>'application/pdf'); open(PDF, $temp.'.pdf'); while (<PDF>) { print $_; } close(PDF);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl, latex and linux Error logging
by moritz (Cardinal) on Sep 12, 2011 at 09:41 UTC | |
by hamidafshar (Novice) on Sep 12, 2011 at 09:56 UTC |