Skip Menu |

This queue is for tickets about the Inline-TT CPAN distribution.

Report information
The Basics
Id: 14496
Status: new
Priority: 0/
Queue: Inline-TT

People
Owner: Nobody in particular
Requestors: nmcfalr [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.05
Fixed in: (no value)



Subject: Unable to call TT Blocks from other Blocks
The module is working as expected except I can not call TT blocks from other TT blocks The following script illustrates the problem , returning: 'file error - simple: not foundThis is simple!' I'm using v.05 with version 2.14 of TT. uname gives me the following - but as every thing compiles I doubt the OS is the issue: Linux 2.4.21-27.0.1.EL #1 i686 athlon i386 GNU/Linux #!/usr/bin/perl use warnings; use strict; use Inline TT => 'DATA', DIRECTORY => '/tmp/'; print simple(); print calls_simple(); exit; __END__ __TT__ [% BLOCK simple %] This is simple! [% END %] [% BLOCK calls_simple %] This calls simple here: [% PROCESS simple %] [% END %]
Date: Wed, 7 Sep 2005 15:12:45 -0700 (PDT)
From: Phil Crow <philcrow2000 [...] yahoo.com>
Subject: Re: [cpan #14496] Unable to call TT Blocks from other Blocks
To: bug-Inline-TT [...] rt.cpan.org
RT-Send-Cc:
Thanks for your interest in Inline::TT and for noticing this bug. I will look at it as I have time (but that may be a while). In the mean time, if you find a solution, I would gladly accept a patch. Phil --- via RT <bug-Inline-TT@rt.cpan.org> wrote: Show quoted text
> > This message about Inline-TT was sent to you by > NMCFARL <NMCFARL@cpan.org> via rt.cpan.org > > Full context and any attached attachments can be > found at: > <URL: > https://rt.cpan.org/Ticket/Display.html?id=14496 > > > The module is working as expected except I can not > call TT blocks from other TT blocks > > > The following script illustrates the problem , > returning: > 'file error - simple: not foundThis is simple!' > > I'm using v.05 with version 2.14 of TT. > uname gives me the following - but as every thing > compiles I doubt the OS is the issue: > Linux 2.4.21-27.0.1.EL #1 i686 athlon i386 > GNU/Linux > > > #!/usr/bin/perl > use warnings; > use strict; > > use Inline TT => 'DATA', DIRECTORY => '/tmp/'; > print simple(); > print calls_simple(); > exit; > __END__ > __TT__ > [% BLOCK simple %] > This is simple! > [% END %] > > > [% BLOCK calls_simple %] > This calls simple here: > [% PROCESS simple %] > [% END %] >
Show quoted text
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com