Re: Templating Solutions

2001-06-19 Thread Robert Price
At 08:36 AM 6/19/01 +0100, Leo wrote: >Have a look at this, TT2 based solution, it's a bit >bloated (as it includes page numbering and various other >functions): > >http://test.cuckoo.org/script_template.txt, >the key line is: >my $results = Emap::HolidayFinder::Tod::do_search(\%form_input,$dbh);

Re: Templating Solutions

2001-06-18 Thread Robert Price
At 04:36 PM 6/18/01 +0100, Greg wrote: >In a moment of stupidity[1] I agreed to write an article for lathos on >templating solutions for Perl. This was an attempt to finally break my >writing block/issues/mindset problems. It is going to be a compare and >contrast article and so far I've looked

RE: Politics (was RE: BOFHs requiring license)

2001-05-14 Thread Robert Price
At 12:27 PM 5/14/01 +0100, you wrote: >> Hospital waiting lists are up, >> so are class sizes in schools. > >No, class sizes are down in primary schools (were primaries specified on the >pledge card?). Secondary school classes are level or *slightly* up, IIRC. Are they in reality, or is it due t

Re: Bah!

2001-05-10 Thread Robert Price
At 01:22 PM 5/10/01 +0100, David Cantrell wrote: >On Thu, May 10, 2001 at 01:05:19PM +0100, Steve Keay wrote: >> On Wed, May 09, 2001 at 05:04:23PM +0100, David Cantrell wrote: >> > I've been made redundant. Anyone want an Evil Programmer? >> > >> > http://www.cantrell.org.uk/david/cv >> >> fun

Re: Native Code Experts

2001-05-04 Thread Robert Price
At 05:07 PM 5/4/01 +0100, Dave Cross wrote: >Thought you might be interested in this post from our frind the Hereford >Killer. Someone posted some code that used for(;;) loops. And this was bk's >response: [snipped excellent advice] >Remember, for loops are for JS, not perl. You cant use semicol

Re: Am I going nutts ? - read before answering!

2001-03-08 Thread Robert Price
[snipped my numbers formated as 0207 XX] >Shouldn't these numbers be formatted 020 7XXX Sh, it's designed to try to fool the sales bunnies. Rob

Re: Am I going nutts ? - read before answering!

2001-03-08 Thread Robert Price
change your "use" to a require and put it in the BEGIN block. Rob -- Robert Price - Technical Manager - EMAP Digital Travel | Tel: 0207 3092711 Priory Court, 30-32 Farringdon Lane, London, EC1R 3AW | Fax: 0207 3092718

Re: Am I going nutts ? - read before answering!

2001-03-08 Thread Robert Price
At 02:52 PM 3/8/01 +, you wrote: >On Thu, Mar 08, 2001 at 02:59:27PM +0000, Robert Price wrote: >> I think the answer is that both the modules where the BEGINS are called >> twice have "use" in them. "use" means "BEGIN {require Module}", so BEG

Re: Am I going nutts ? - read before answering!

2001-03-08 Thread Robert Price
Test2 is beginning\n"; >} > >1; > > >Oh, running this code gives: > >>./test.pl >Test2 is beginning >Test is beginning >Here > >Making is even wierder! As 'Test is..' only >prints once. > >Any help is much appreciated. > >Cheers > >Leo > > -- Robert Price - Technical Manager - EMAP Digital Travel | Tel: 0207 3092711 Priory Court, 30-32 Farringdon Lane, London, EC1R 3AW | Fax: 0207 3092718

Re: Perl Books

2001-02-01 Thread Robert Price
At 12:34 PM 2/1/01 +, jp wrote: [snip] >Totally unrelated, I wish they'd open a PC Bookshop in Farringdon. But it's only a 10-15 minute stroll to the one in Southampton Row from Farringdon. Rob