Re: [Templates] very strange Template->new behave

2005-07-05 Thread mike south
Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com ___ templates mailing list templates@template-toolkit.org http://lists.template-toolkit.org/mailman/listinfo/templates -- -

Re: [Templates] very strange Template->new behave

2005-07-05 Thread mike south
ows. This subroutine is inside a cgi script with a https request to another server with XML format. Template toolkit is used to display the response. The same subroute works at other cgi scripts without https request. ____ Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy

[Templates] knowing where a macro tag started

2005-09-14 Thread mike south
exists. mike -- ----- Name : Mike South Title : Software Developer Company : McClatchy Interactive Phone : (919) 861-1259 Cell : (919) 624-5071 Fax : (919) 861-1300 Email : [EMAIL PROTECTED] AIM : msouthmi Web Site : http://www.mcclatchy

[Templates] line position at which a directive starts

2005-09-27 Thread Mike South
Hi,I posted earlier asking about this ( http://www.template-toolkit.org/pipermail/templates/2005-September/007831.html ), so far with no replies.  I have done some more investigation since then and I'm reasonably sure Template Toolkit doesn't make the information I'm looking for available.  I would

Re: [Templates] Passing a BLOCK to another template?

2005-09-28 Thread Mike South
On 9/27/05, Sergey Martynoff <[EMAIL PROTECTED]> wrote: To be correct, Mark needs to quote block name when passingparameters to WRAPPER:[% WRAPPER bigtable.tt  sidebar = 'mysidebar' %]In this case the sidebar variable contains literal name, so block should be called as Jason said:[% PROCESS $sideba

Re: [Templates] loop first, loop last in current version

2008-09-15 Thread Mike South
On Mon, Sep 15, 2008 at 9:29 AM, Birgit Kellner <[EMAIL PROTECTED]> wrote: > Hi, > > in an older version of the Template Toolkit (we just updated our server > to 2.19), using <% if loop.last %> threw an error that could be solved > through a hack in Iterator.pm, sub AUTOLOAD: > > $item = 'LAST' if