stew has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to read a directory containing XML and convert it to PDF using XSLFOP
I have managed to collect a list of XML files that meet a certain criteria and generate a list of corresponding output files.
I am trying to use FOP calling it thru eval but I get errrors generated by FOP.
When I substitute my variable with hard values the eval statement executes without error and an pdf is generated. I suspect my eval is sending the wrong parameters to the command line.
Can anybody tell me in a flash what is wrong with this snippet of code?????????
eval{ ` /usr/local/src/fop-0.20.4/fop.sh -xsl xslfo.xsl -xml ` . $ +inputfile . ` -pdf ` . $outputfile; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Problems with eval
by Aristotle (Chancellor) on Sep 06, 2002 at 15:23 UTC | |
|
Re: Problems with eval
by BrowserUk (Patriarch) on Sep 06, 2002 at 16:11 UTC | |
by Aristotle (Chancellor) on Sep 07, 2002 at 00:06 UTC | |
by BrowserUk (Patriarch) on Sep 07, 2002 at 00:20 UTC |