in reply to Dreaming of Post Interpolation
I don't think this is quite what you were looking for, but I think it is along the right path. I have a feeling that something with eval might do the trick too, but I can't figure out how to get that to work right now.$text = sub { <<EOT; Dear $person, I know that this text is $adjective. But I wish it could be... EOT }; local $person = 'Mom'; local $adjective = 'not interpolated'; print &$text;
|
---|
Replies are listed 'Best First'. | |
---|---|
RE: Re: Dreaming of Post Interpolation
by BBQ (Curate) on May 30, 2000 at 06:35 UTC | |
by lhoward (Vicar) on May 30, 2000 at 15:32 UTC |