AnomalousMonk has asked for the wisdom of the Perl Monks concerning the following question:
Exists there such HERE-doc magic, or am I just enjoying a beautiful dream?
Update:
I should have included the sentence dHarry wrote that piqued my interest:
One way to do it is to inline the file in a HEREDOC, the variables will be interpolated. (Maybe not the most elegant solution but I used it to good effect in QED solutions.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: HERE-doc two-stage interpolation magic
by tilly (Archbishop) on Aug 06, 2008 at 20:11 UTC | |
|
Re: HERE-doc two-stage interpolation magic
by betterworld (Curate) on Aug 06, 2008 at 20:07 UTC | |
|
OT: nice username
by Your Mother (Archbishop) on Aug 07, 2008 at 01:13 UTC | |
by Lawliet (Curate) on Aug 07, 2008 at 01:59 UTC | |
by AnomalousMonk (Archbishop) on Aug 07, 2008 at 02:25 UTC | |
by Anomynous Monk (Scribe) on Aug 07, 2008 at 02:49 UTC | |
by Fletch (Bishop) on Aug 07, 2008 at 04:06 UTC | |
by Your Mother (Archbishop) on Aug 07, 2008 at 02:37 UTC | |
|
Re: HERE-doc two-stage interpolation magic
by perrin (Chancellor) on Aug 07, 2008 at 05:00 UTC |