in reply to Dreaming of Post Interpolation
http://www.plover.com/~mjd/perl/Interpolation/
i haven't checked it out myself, but it looks pretty interesting from just looking at the web page.
i don't think that there is a simple, transparent syntax or function for doing what you want in Perl. at the least, you can check out the techniques MJD uses in his Interpolation module and go from there.
most of the time, i use (s)printf for such things, but it does not have the nice feature of explicitly tying the name to the postition as does symbolic variable interpolation (i.e. it's hard to tell which '%s' goes with which variable when there are twenty of them; 'Hello $Recipient' is transparent).
|
---|
Replies are listed 'Best First'. | |
---|---|
RE: Re: Dreaming of Post Interpolation
by BBQ (Curate) on May 30, 2000 at 07:17 UTC | |
by mdillon (Priest) on May 30, 2000 at 07:19 UTC | |
by BBQ (Curate) on May 30, 2000 at 07:52 UTC | |
by lhoward (Vicar) on May 30, 2000 at 15:49 UTC |