in reply to Problems with eval
Perl will interpolate its own variables into that string before calling the shell. Actually, a much better way here is system qw(/usr/local/src/fop-0.20.4/fop.sh -xsl xslfo.xsl), -xml => $inputfile, -pdf => $outputfile;eval { `/usr/local/src/fop-0.20.4/fop.sh -xsl xslfo.xsl -xml $inputf +ile -pdf $outputfile`; }
Makeshifts last the longest.
|
|---|