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 reply to Re: Variable interpolation in a file to be read in
by Anonymous Monk
in thread Variable interpolation in a file to be read in
by tapolyaip
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |