in reply to Interpolating string that contains variables to be interpolated
$htmlFiles.= "\$lists[$y] ";
to:
$htmlFiles.= "$lists[$y] ";
You could also simplify and use the array directly because it'll interpolate and add spaces for you ($"):
my $result = `wkhtmltopdf.exe @lists $project.pdf`;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Interpolating string that contains variables to be interpolated
by fpscolin (Initiate) on Apr 13, 2015 at 18:26 UTC |