Hi,

I have made a script that reads a XML file from disk and creates a 
PDF from the content. The script currently uses XML::Simple to parse 
the XML data.

For the next phase I would like to receive the PDF from XML via HTTP, 
rather than have to slurp up the file from disk. I believe this is 
possible with a CGI module, there are a few about. 

Can anyone give me some pointers on what module to use. I have had a 
look at 

http://www.cpan.org/modules/by-module/XML/perl-xml-modules.html

None of these look like they are going to allow me to keep my current 
method of passing the XML content to XML::Simple, which is like this 

my $xml = eval {XMLin($fh, SuppressEmpty => 1, ForceArray => 
qr/item/) };

Have I set off on the wrong foot? Should I have began with a 
CGI::XML(ish) module?

Thanx in advance,
Dp.



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to