Re: [htmltmpl] Testing HTML::Template templates

2006-09-12 Thread Gabor Szabo
On 9/12/06, Justin Simoni <[EMAIL PROTECTED]> wrote: > At the moment, I'm fixing the errors my fairly simple test is turning > up in my templates. I'm fairly pleased of the results I've gotten > back, most of the errors reported are, in fact, goofs in the HTML of > the HTML::Template templates. >

Re: [htmltmpl] Testing HTML::Template templates

2006-09-11 Thread Gabor Szabo
On 9/12/06, Justin Simoni <[EMAIL PROTECTED]> wrote: > > And, from the small set of files I've tested, looks like they're all > structurally sound HTML files (except for the problems the tests did > find), which was a hunch of mine that HTML::Template templates would > be (sans the embedded comment

Re: [htmltmpl] using __DATA__ section as template in module

2004-10-02 Thread Gabor Szabo
On Sat, 2 Oct 2004 [EMAIL PROTECTED] wrote: > > > I have been having some trouble with a module I am working on that requires > HTML::Template. > > I am trying to use the __DATA__ section of the module as a default template to > fall back on if one is not supplied to my constructor. In one of my

Re: [htmltmpl] Erro: You gave me an odd number of parameters to param()!

2004-09-10 Thread Gabor Szabo
you passed the array instead of the array reference > $template -> param(pagetitle => "Search Results", >showlist=> @$allshows); this is probably the correct one: $template -> param(pagetitle => "Search Results",

RE: [htmltmpl] tests fail using Perl 5.6.1

2004-07-29 Thread Gabor Szabo
On Thu, 29 Jul 2004, Sam Tregar wrote: > On Thu, 29 Jul 2004, Nicholas R. Markham wrote: > > Well, it looks like all the tests are passing to me. Maybe your > Test::Harness is broken? You might try updating it from CPAN. If you > don't feel like debugging further I think can safely do a 'make >

Re: [htmltmpl] HTML::Template v2.7 is Coming!

2004-06-18 Thread Gabor Szabo
On Fri, 18 Jun 2004, Sam Tregar wrote: > > That's right, but I think it runs on a delayed update from the real > CVS source. yes, I got it a few hours later. > > I am using this as I had a number of cases when suddenly part of my tests > > did not run and I did not get any warning about this. > >

[htmltmpl] CVS commit mailinglist

2004-06-18 Thread Gabor Szabo
I know I should go to sleep already, but Sam, could you, please setup a mailing list on source-forge where the commits of the CVS repository would go ? Having such list makes it easier to know when should I look for new things in the repo. thanks Gabor -

Re: [htmltmpl] HTML::Template v2.7 is Coming!

2004-06-18 Thread Gabor Szabo
On Fri, 18 Jun 2004, Sam Tregar wrote: > Alright, this sounds fine to me. I'm commiting this now. Oh thanks Is this suposed to be the correct CVS ? http://cvs.sourceforge.net/viewcvs.py/html-template/HTML-Template/ I am asking as I have just checked it out again (which took me 30 minutes)

Re: [htmltmpl] HTML::Template v2.7 is Coming!

2004-06-18 Thread Gabor Szabo
On Thu, 17 Jun 2004, Sam Tregar wrote: > I don't think so. It's not that I mind a Test::More dependency - lots > of my modules use Test::More - but that I'm not interested in > investing the time it would take a to be sure that the new test suite > was as good as the old one. Since the tests don

Re: [htmltmpl] HTML::Template v2.7 is Coming!

2004-06-17 Thread Gabor Szabo
Hi Sam, if you don't mind to include a Test::More dependency then I'd be glad to send you an additional (or replacement) test suit using Test::More. It will fix a number of issues with the current test suit staring from the fact that the number of tests is not correct in test.pl till the capabili

Re: [htmltmpl] warning_on_bad_params (fwd)

2004-05-11 Thread Gabor Szabo
On Tue, 11 May 2004, Karen J. Cravens wrote: > On Wed, 12 May 2004, Gabor Szabo wrote: > > GS>Normally I'd do that but in our current setup he does not have a > GS>test server and I don't have the templates :( quite crazy. > GS>In any case he might later updat

Re: [htmltmpl] warning_on_bad_params

2004-05-11 Thread Gabor Szabo
On Tue, 11 May 2004, Sam Tregar wrote: > Sorry about that. I meant to reply but got distracted. no problem, > Run with die_on_bad_params on your test server and turn it off in > production. Normally I'd do that but in our current setup he does not have a test server and I don't have the templat

Re: [htmltmpl] warning_on_bad_params

2004-05-11 Thread Gabor Szabo
I asked this a couple of days ago with no response. I'd really appreciate your feedback. The issues is that I created a simple set of templates that is used by someone to design a page from it. Sometimes he is missing a few of the codes, especially the new once I add. When we put the pages onli

[htmltmpl] warning_on_bad_params

2004-05-09 Thread Gabor Szabo
Is there a way to get warnings on bad parameters ? On one hand I set die_on_bad_params to 0 in order to avoid crashes but I'd like to get the warnings in the error log. Gabor --- This SF.Net email is sponsored by Sleepycat Software Learn de

Re: [htmltmpl] LOOP over array of scalar elements

2003-12-23 Thread Gabor Szabo
On Mon, 22 Dec 2003, Roger Burton West wrote: > On Mon, Dec 22, 2003 at 09:49:48AM -0200, Gabor Szabo wrote: > > >So far the only way I could think of is to go over these arrays and > >replace the scalar values with hash-refs: > > Correct. You can do this in a single pa

[htmltmpl] LOOP over array of scalar elements

2003-12-22 Thread Gabor Szabo
It might be a very simple question but I could not find the answer so far: In a larger hash I have an array-ref with simple scalars in it items => [ 'apple', 'banana', 'orange' ] I'd like to use this directly in a H:T with something like the following but

Re: [htmltmpl] Phalanx and HTML::Template

2003-10-20 Thread Gabor Szabo
On Sun, 19 Oct 2003, Sam Tregar wrote: > On Fri, 17 Oct 2003, Gabor Szabo wrote: > > > Current status v2.6 > > --- > > There are 57 (actually 60 but the script reports 57) tests. > > Based on the report of Devel::Cover the tests provide a 67.95% cod

[htmltmpl] Phalanx and HTML::Template

2003-10-17 Thread Gabor Szabo
preciate further input to this work. regards Gabor Szabo [1] Actually I am doing similar work for CGI::Application too. --- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects