Title: Message
 
I have attempted to use the toolkit with threading, and two additional threading libraries, Thread::Exit v0.09 and Thread::Running v0.05.
 
The presence of these two 'use' statements causes the toolkit to not process any template data - no output is generated at all. For example, uncommenting the two 'use' statements causes the toolkit to generate no data.
 
I don't actually need these modules now (from an earlier design iteration), but wanted to flag the issue for others.
 
use strict;
use threads;
use threads::shared;
use Thread::Queue;
use Thread::Semaphore;
#use Thread::Exit;
#use Thread::Running;
use Template;
my @valuedata = ( { value=> 1 }, { value=> 2 } );
my @list = ( 'one', 'two', 'three', 'four' );
my %data = ( name=>'test', list => [EMAIL PROTECTED], data="" PROTECTED] );
my $tt = Template->new();
$tt->process ( 'test_template.tt', \%data ) || die $tt->error;
 
 
 
 
 

____________________________________________________
CS5 Consultants Ltd
Registered in Scotland No. 263082

This e-mail message is confidential and for use by the addressee only. If the message is received by anyone other than the addressee, please return the message to the sender by replying to it and then delete the message from your computer. Internet e-mails are not necessarily secure. CS5 Consultants Ltd does not accept responsibility for changes made to this message after it was sent.

Whilst all reasonable care has been taken to avoid the transmission of viruses, spyware or other malware, it is the responsibility of the recipient to ensure that the onward transmission, opening or use of this message and any attachments will not adversely affect its systems or data. No responsibility is accepted by CS5 Consultants in this regard and the recipient should carry out such virus and other checks as it considers appropriate.

 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to