Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: What is the best way to produce a formal pdf report autonomously?

by karlgoethebier (Abbot)
on Sep 10, 2013 at 18:12 UTC ( [id://1053330]=note: print w/replies, xml ) Need Help??


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»

  • Comment on Re: What is the best way to produce a formal pdf report autonomously?
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1053330]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2024-04-24 12:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found