in reply to What is the best way to produce a formal pdf report autonomously?
Using Text::Template and LaTeX isn't a bad idea for creating reports. BTW, what does "autonomously" mean in this context?
Update:
Instead of one of the templating modules you can also use this technique i cheated a while ago:
#!/usr/bin/env perl + use strict; use warnings; undef $/; my %vars = ( name => qq(Karl), color => qq(blue), fruit => qq(tomato) ); my $string = <DATA>; $string =~ s/%%(.*?)%%/$vars{$1}/gs; print $string; __DATA__ Hello, my name is %%name%%! + May i have a %%color%% %%fruit%% please?
Perhaps i posted this already but cannibalisation isn't a bad idea :-)
Please see also Re: Creation of PDF.
Regards, Karl
«The Crux of the Biscuit is the Apostrophe»
|
---|