Re: new work on HTML::Template
Lyle <[email protected]> Wed, 06 Apr 2011 23:57:54 +0100
| Newsgroups | gmane.comp.lang.perl.modules.html-template |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--===============5054424344616251044==
Content-Type: multipart/alternative;
boundary="------------030009040105070407000801"
This is a multi-part message in MIME format.
--------------030009040105070407000801
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
On 06/04/2011 23:37, Brad Baxter wrote:
> ...
> So my complaint is that my perl code is setting the
> same values in the $tmpl object, but the module
> does not "honor" the value unless it sees the loop
> in the template a certain way. My explanation is
> confusing, I know -- the whole situation is confusing
> (to me). And that's what made me have to say
> enough finally after running into this multiple times.
I think using the term object here is confusing. I gather you are
talking about the scoping of variables? Such the loop variables should
be within the scope (probably optionally) of child loops?
Lyle
--------------030009040105070407000801
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#3333ff" bgcolor="#ffffff">
On 06/04/2011 23:37, Brad Baxter wrote:
<blockquote
cite="mid:[email protected]"
type="cite">...<br>
<pre wrap="">So my complaint is that my perl code is setting the
same values in the $tmpl object, but the module
does not "honor" the value unless it sees the loop
in the template a certain way. My explanation is
confusing, I know -- the whole situation is confusing
(to me). And that's what made me have to say
enough finally after running into this multiple times.
</pre>
</blockquote>
<br>
I think using the term object here is confusing. I gather you are
talking about the scoping of variables? Such the loop variables
should be within the scope (probably optionally) of child loops?<br>
<br>
<br>
Lyle<br>
<br>
</body>
</html>
--------------030009040105070407000801--
--===============5054424344616251044==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
--===============5054424344616251044==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Html-template-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/html-template-users
--===============5054424344616251044==--