Trudge wrote:
On Mar 30, 8:13 am, [EMAIL PROTECTED] (Chas. Owens) wrote:
If you have multiple templates you might want to use Inline::Files*
instead of a straight DATA block.
Chas. I've installed this and gave it a quick whirl. While it does
print OK from various blocks, I couldn't get it to
[EMAIL PROTECTED] wrote:
Gunnar Hjalmarsson wrote:
Trudge wrote:
Now I know it can be done, so I will be exploring this method.
Not much to explore, really. Did you read the applicable Perl FAQ?
Even if it provides this method, it doesn't exactly recommend it...
Besides full-blown templat
Gunnar Hjalmarsson wrote:
Trudge wrote:
On Mar 29, 4:05 pm, [EMAIL PROTECTED] (Gunnar Hjalmarsson) wrote:
Trudge wrote:
I'm trying to get a script to interpolate variable values in a
__DATA__ block if possible.
It can be done; see the FAQ entry
perldoc -q "expand variables"
On Mar 30, 8:13 am, [EMAIL PROTECTED] (Chas. Owens) wrote:
> On Sat, Mar 29, 2008 at 9:14 PM, Trudge <[EMAIL PROTECTED]> wrote:
>
> > On Mar 29, 4:05 pm, [EMAIL PROTECTED] (Gunnar Hjalmarsson) wrote:
> > > Trudge wrote:
> > > > I'm trying to get a script to interpolate variable values in a
> > >
On Mar 30, 8:13 am, [EMAIL PROTECTED] (Chas. Owens) wrote:
> On Sat, Mar 29, 2008 at 9:14 PM, Trudge <[EMAIL PROTECTED]> wrote:
>
> > On Mar 29, 4:05 pm, [EMAIL PROTECTED] (Gunnar Hjalmarsson) wrote:
> > > Trudge wrote:
> > > > I'm trying to get a script to interpolate variable values in a
> > >
On Sat, Mar 29, 2008 at 9:14 PM, Trudge <[EMAIL PROTECTED]> wrote:
>
> On Mar 29, 4:05 pm, [EMAIL PROTECTED] (Gunnar Hjalmarsson) wrote:
> > Trudge wrote:
> > > I'm trying to get a script to interpolate variable values in a
> > > __DATA__ block if possible. This is a kind of alternative to a ful
Trudge wrote:
On Mar 29, 4:05 pm, [EMAIL PROTECTED] (Gunnar Hjalmarsson) wrote:
Trudge wrote:
I'm trying to get a script to interpolate variable values in a
__DATA__ block if possible.
It can be done; see the FAQ entry
perldoc -q "expand variables"
while () {
On Mar 29, 4:05 pm, [EMAIL PROTECTED] (Gunnar Hjalmarsson) wrote:
> Trudge wrote:
> > I'm trying to get a script to interpolate variable values in a
> > __DATA__ block if possible. This is a kind of alternative to a full-
> > blown template method. I'm not sure if I can even do what I want,
> > hen
Rob Dixon wrote:
Gunnar Hjalmarsson wrote:
Trudge wrote:
I'm trying to get a script to interpolate variable values in a
__DATA__ block if possible. This is a kind of alternative to a full-
blown template method. I'm not sure if I can even do what I want,
hence my posting here.
It can be don
Gunnar Hjalmarsson wrote:
>
> Trudge wrote:
>>
>> I'm trying to get a script to interpolate variable values in a
>> __DATA__ block if possible. This is a kind of alternative to a full-
>> blown template method. I'm not sure if I can even do what I want,
>> hence my posting here.
>
> It can be done
Trudge wrote:
I'm trying to get a script to interpolate variable values in a
__DATA__ block if possible.
perldoc -q "How can I expand variables in text strings"
John
--
Perl isn't a toolbox, but a small machine shop where you
can special-order certain sorts of tools at low cost and
in short o
Trudge wrote:
I'm trying to get a script to interpolate variable values in a
__DATA__ block if possible. This is a kind of alternative to a full-
blown template method. I'm not sure if I can even do what I want,
hence my posting here.
It can be done; see the FAQ entry
perldoc -q "expand va
Trudge wrote:
>
Hi Trudge.
I'm trying to get a script to interpolate variable values in a
__DATA__ block if possible. This is a kind of alternative to a full-
blown template method. I'm not sure if I can even do what I want,
hence my posting here.
No, you can't do that. But see below.
The f
I'm trying to get a script to interpolate variable values in a
__DATA__ block if possible. This is a kind of alternative to a full-
blown template method. I'm not sure if I can even do what I want,
hence my posting here. The following code only goes so far. It
correctly prints the value of $$datare
14 matches
Mail list logo