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 %]