in reply to Interpolating string that contains variables to be interpolated

I think you want to get rid of the backslash and let the variable be interpolated in the double quotes. Change:
$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

    Perfect! I don't know why I thought I had to escape the $, but your solution fixed my issue. Thank you very much!