in reply to Variable interpolation in a file to be read in
You can always use eval if the text does not contains any other characters that double quoted strings handle specially (e.g. ['%@])
if (($begin_sql == 1) && ($end_sql != 1)) { my $interpolated = eval(qq/$_/); $sql .= $interpolated; }
In Section
Seekers of Perl Wisdom