http://www.perlmonks.org?node_id=117011

LostS has asked for the wisdom of the Perl Monks concerning the following question:

Hey Everyone,

Here is my fun chore for today... Take this data and make it a PDF. I have a flat file database system. Now I need to take that data format into this format:

(ID) TITLE
Explanation: LONG DESCRIPTION
Record Copy: RECORD COPY INFO
Retention: RETENTION INFO
Citation or Reference: CITATION AND/ORG REFERENCE INFO

Well it is easy to put it in HTML format... But attempting to make it PDF is a little tricky and these PDF Modules are extremely hard to understand for me. Now this is where it gets funny... Yes I have that data needing to be printed... HOWEVER... I have 12 Differant Catagories... Each Catagory has it's own set of Title's... For example. Catagory A has 125 differant title's with explinations and everything... Catagory B has 14... and so forth... How can I create this system that will create Sections for each Catagory. Then under those page(s) it will list all the entries. Now some sections will have multiple pages which is what I think is hosing me up some how and having to worry about the X and Y coordinates... So.. Can anyone help me??


-----------------------
Billy S.
Slinar Hardtail - Guildless
Datal Ephialtes - Guildless
RallosZek.Net Admin/WebMaster
Aerynth.Net Admin/WebMaster

perl -e '$cat = "cat"; if ($cat =~ /\143\x61\x74/) { print "Its a cat! +\n"; } else { print "Thats a dog\n"; } print "\n";'