in reply to Dreaming of Post Interpolation

How 'bout this:
my $text = 'Dear $person, I know that this text is $adjective.
But I wish it could be...';

my $person = "foobar";
my $adjective = "flooby";

$interpolated_text = eval($text);

Replies are listed 'Best First'.
RE: RE: Dreaming of Post Interpolation
by mdillon (Priest) on May 30, 2000 at 23:16 UTC
    put this afterward and see what happens: if ($@) { print "$@\n"; } syntax error at (eval 1) line 3, at EOF