Re: perl template toolkit - modify variable

2008-01-09 Thread perlmunky
Sorry, I am a fool. I found the methods in the VMethods section of the tt website. Sorry. I have used: name.0.remove('.*\.') to sort the problem On Jan 9, 2008 4:13 PM, perlmunky <[EMAIL PROTECTED]> wrote: > Hi list, > > I am trying to generate a web page containing a form which is constru

perl template toolkit - modify variable

2008-01-09 Thread perlmunky
Hi list, I am trying to generate a web page containing a form which is constructed automagically with catalyst. The variable which is passed to the template is an array ( [% column_names %] ) each element in the array looks like: foo.bar foo.baz oof.rab oof.zab ... As I loop over t

Re: Need help with sorting on perl template toolkit

2005-09-11 Thread Anish Kumar K
Hi Sorry for the trouble...I got it we can use reverse function... Once again Sorry Anish - Original Message - From: Anish Kumar K To: beginners@perl.org Sent: Monday, September 12, 2005 11:20 AM Subject: Need help with sorting on perl template toolkit Hi I

Need help with sorting on perl template toolkit

2005-09-11 Thread Anish Kumar K
Hi I needed the help as how to sort descending in a hash [%FOREACH keyValue = wordCount.nsort(wordCount.$keyValue)%] [% keyValue %] [% wordCount.$keyValue %] [%END%] This is sorting in ASCENFDING order. I tried out giving - , NOT ASC everything.nothing working. Please sugg

Re: perl template

2005-01-05 Thread Alfred Vahau
my $templateFile="\home\anish\temp\client.html"; Are you on a Win32 box? *unix uses forward slashes for path names, if that matters on your template. alfred, Anish Kumar K. wrote: I use a perl template and getting this error my $templateFile="\home\anish\temp\client.html"

Re: perl template

2005-01-05 Thread Ricardo SIGNES
* "Anish Kumar K." <[EMAIL PROTECTED]> [2005-01-05T05:52:16] > I use a perl template and getting this error > > my $templateFile="\home\anish\temp\client.html"; > $template->process($templateFile, \%inputVariables) || die "Template process > fail

perl template

2005-01-05 Thread Anish Kumar K.
I use a perl template and getting this error my $templateFile="\home\anish\temp\client.html"; $template->process($templateFile, \%inputVariables) || die "Template process failed: ", $template->error(), "\ n"; absolute paths are not allowed (set ABSOLUTE option) Please help me Thanks Anish

RE: Problem installing the perl Template module

2004-10-27 Thread Clement Lau
> -Original Message- > From: Todd W [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 27, 2004 6:25 AM > To: [EMAIL PROTECTED] > Subject: Re: Problem installing the perl Template module > > > > > t/html...ok 9/18FAILED 10: - html entity did

Re: Problem installing the perl Template module

2004-10-27 Thread Todd W
"Clement Lau" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > I'm trying to install Bugzilla on a Redhat 8 system. And now I came across > this problem of installing the required Template module. > > I've checked all the dependency of the Template module but when I do perl >

Re: Problem installing the perl Template module

2004-10-26 Thread Chris Devers
On Tue, 26 Oct 2004, Clement Lau wrote: > I'm trying to install Bugzilla on a Redhat 8 system. Okay, so isn't there an RPM you could install? Bugzilla is popular enough that I'd be surprised if there wasn't already a pre-made RPM package that could be used for this. For that matter, there mig

RE: Problem installing the perl Template module

2004-10-26 Thread Clement Lau
nc. [EMAIL PROTECTED] > -Original Message- > From: Chasecreek Systemhouse > [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 26, 2004 3:39 PM > To: [EMAIL PROTECTED] > Subject: Re: Problem installing the perl Template module > > > It's an exmaple of w

Re: Problem installing the perl Template module

2004-10-26 Thread Chasecreek Systemhouse
It's an exmaple of where you must decide if a <2% failure rate is worth forcing it. force install Template Or, install it manually by downloading the template file off cpan. On Tue, 26 Oct 2004 15:30:09 -0700, Clement Lau <[EMAIL PROTECTED]> wrote: > Failed 1/90 test scripts, 98.89% okay. 1/24

Problem installing the perl Template module

2004-10-26 Thread Clement Lau
Hi, I'm trying to install Bugzilla on a Redhat 8 system. And now I came across this problem of installing the required Template module. I've checked all the dependency of the Template module but when I do perl -MCPAN -e 'install', the "make test" will show one fail: # perl -MCPAN -e'install "T