Re: Template toolkit issue [SOLVED]

2012-05-08 Thread Randal L. Schwartz
> "Lesley" == Lesley writes: Lesley> Dedicated servers aren't hard to find if one has deep pockets. Virtual machines Lesley> are a cheap solution for us small fry who don't have the budget for a dedicated Lesley> server but want to get away from the run of the mill small website hosting L

Re: Template toolkit issue [SOLVED]

2012-05-08 Thread Lesley
On Mon, May 07, 2012 at 10:46:28AM -0700, Randal L. Schwartz wrote: > > "'lesleyb'" == 'lesleyb' writes: > > 'lesleyb'> +1 on that. AFAIK, being able to use mod_perl still implies > having control of > 'lesleyb'> Apache and it's config. I haven't yet heard of a hosting company > providin

Re: Template toolkit issue [SOLVED]

2012-05-08 Thread Mark Haney
. Lou and Mark Rob Tweren't me. I did post a similar reply to yours, but I wasn't the one wanting to opt out. -- Mark Haney Software Developer/Consultant AB Emblem ma...@abemblem.com Linux marius.homelinux 3.3.4-3.fc16.x86_64 GNU/Linux -- To unsubscribe, e-mail: beginners-unsubscr...

Re: Template toolkit issue [SOLVED]

2012-05-07 Thread Rob Dixon
1:50 PM To: beginners@perl.org Subject: Re: Template toolkit issue [SOLVED] Stop sending me emails, I'm blockin every email I get. Maybe MAYBE one day I'll just block everyone after trying for so long. Lou and Mark I'm sorry you've been frustrated. It really is very simpl

RE: Template toolkit issue [SOLVED]

2012-05-07 Thread Lou Pereira
t: Re: Template toolkit issue [SOLVED] Stop sending me emails, I'm blockin every email I get. Maybe MAYBE one day I'll just block everyone after trying for so long. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: Template toolkit issue [SOLVED]

2012-05-07 Thread Mark Haney
On 05/07/2012 01:50 PM, dtreyno...@aep.com wrote: Stop sending me emails, I'm blockin every email I get. Maybe MAYBE one day I'll just block everyone after trying for so long. Um, have you looked at the footer at the end of each message you've blocked? It gives you instructions on how to un

Re: Template toolkit issue [SOLVED]

2012-05-07 Thread dtreynolds
Stop sending me emails, I'm blockin every email I get. Maybe MAYBE one day I'll just block everyone after trying for so long.

Re: Template toolkit issue [SOLVED]

2012-05-07 Thread Randal L. Schwartz
> "'lesleyb'" == 'lesleyb' writes: 'lesleyb'> +1 on that. AFAIK, being able to use mod_perl still implies having control of 'lesleyb'> Apache and it's config. I haven't yet heard of a hosting company providing 'lesleyb'> mod_perl out there though I'd like to know if there are any. mod

Re: Template toolkit issue [SOLVED]

2012-05-07 Thread Randal L. Schwartz
> "Bill" == Bill Stephenson writes: Bill> Using CGI.pm with HTML::Template is still a very fast and Bill> efficient way to develop web apps. And CGI.pm is at the cornerstone of my CGI::Prototype framework, still in production use on many websites. -- Randal L. Schwartz - Stonehenge Consult

Re: Template toolkit issue [SOLVED] - mod_perl hosting

2012-05-07 Thread Lesley
On Sun, May 06, 2012 at 05:14:08AM -0700, Michael Rasmussen wrote: > On Sun, May 06, 2012 at 04:04:49AM +0100, 'lesleyb' wrote: > > +1 on that. AFAIK, being able to use mod_perl still implies having control > > of > > Apache and it's config. I haven't yet heard of a hosting company providing > >

Re: Template toolkit issue [SOLVED] - mod_perl hosting

2012-05-06 Thread Michael Rasmussen
On Sun, May 06, 2012 at 04:04:49AM +0100, 'lesleyb' wrote: > +1 on that. AFAIK, being able to use mod_perl still implies having control of > Apache and it's config. I haven't yet heard of a hosting company providing > mod_perl out there though I'd like to know if there are any. There are a few

Re: Template toolkit issue [SOLVED]

2012-05-05 Thread 'lesleyb'
On Thu, May 03, 2012 at 01:30:41PM -0500, Bill Stephenson wrote: > I use CGI.pm to build web apps all the time. > > I think the notion that CGI and CGI.pm is out dated is kind of silly in fact. > > Using CGI.pm with HTML::Template is still a very fast and efficient way to > develop web apps. A

Re: Template toolkit issue [SOLVED]

2012-05-04 Thread Mike Flannigan
Oddly, I did not know that CGI.pm was dead, and I have been programming Perl for years. I've even been to a Dancer presentation at houston.pm http://houston.pm.org/ and didn't have that figured out. Pretty funny, heh? I don't use GCI.pm much, but I do use it. It has an awful program flow (wor

Re: Template toolkit issue [SOLVED]

2012-05-03 Thread Octavian Rasnita
From: "Mark Haney" Subject: Re: Template toolkit issue [SOLVED] One, in the original post of mine about PHP and perl interaction I was told to try the template-toolkit, mason, dancer, catalyst, etc. I looked into each one and decided on the toolkit. At no time did anyone mention

Re: Template toolkit issue [SOLVED]

2012-05-03 Thread Octavian Rasnita
From: "Mark Haney" Subject: Re: Template toolkit issue [SOLVED] On 05/02/2012 03:53 PM, Octavian Rasnita wrote: Perl is a programming language, not a language which is used only for web programming, so why should you think that Template Toolkit includes CGI? Nowadays CGI is v

Re: Template toolkit issue [SOLVED]

2012-05-03 Thread Bill Stephenson
I use CGI.pm to build web apps all the time. I think the notion that CGI and CGI.pm is out dated is kind of silly in fact. Using CGI.pm with HTML::Template is still a very fast and efficient way to develop web apps. CGI::Application is another framework you can look at. It has a pretty solid

Re: Template toolkit issue [SOLVED]

2012-05-03 Thread Mark Haney
On 05/03/2012 10:49 AM, Lawrence Statton wrote: On 05/03/2012 07:41 AM, Mark Haney wrote: On 05/02/2012 03:53 PM, Octavian Rasnita wrote: I'm really quite intrigued by the assertion that CGI is very seldom used. Well, do you mean "CGI.pm" the perl module, which is, AFAIK rarely used any

Re: Template toolkit issue [SOLVED]

2012-05-03 Thread Lawrence Statton
On 05/03/2012 10:18 AM, Lawrence Statton wrote: I'll follow up to my own response in a few minutes with a trivial program that produces content without using CGI.pm I need to configure a webserver to do CGI which I have none at hand. As promised: A minimal perl program to produce content wit

Re: Template toolkit issue [SOLVED]

2012-05-03 Thread John SJ Anderson
On May 3, 2012, at 11:18 AM, Lawrence Statton wrote: > Then stop being so damned snarky - you are not going to get people to help > you by playing the "I'm going to insult your toolchain so you will feel > compelled to defend it and do my job for me" card. That almost always ends > with your

Re: Template toolkit issue [SOLVED]

2012-05-03 Thread Lawrence Statton
On 05/03/2012 09:19 AM, Mark Haney wrote: On 05/03/2012 09:06 AM, John SJ Anderson wrote: Okay, perhaps that was hyperbole on my part. Although, honestly, I included all the other things websites can do not just output HTML. And you can do all of those things with Perl. You just need to pi

Re: topic areas for perl-beginners list (was: Re: Template toolkit issue [SOLVED])

2012-05-03 Thread John SJ Anderson
On May 3, 2012, at 11:01 AM, Shawn H Corey wrote: > On 12-05-03 09:55 AM, John SJ Anderson wrote: >> One situation I really want to avoid with perl-beginners is having the >> "old hands" here send people to other lists, only to have the people >> on those other lists say "we don't have time to ho

Re: Template toolkit issue [SOLVED]

2012-05-03 Thread John SJ Anderson
On May 3, 2012, at 10:19 AM, Mark Haney wrote: > Okay, I can understand that. Point me in the right direction for this. I > don't really want to learn about steam engines if gas combustion engines are > 'the thing'. I suppose that's been my point all along. I'll point you to some additional

Re: topic areas for perl-beginners list (was: Re: Template toolkit issue [SOLVED])

2012-05-03 Thread Shawn H Corey
On 12-05-03 09:55 AM, John SJ Anderson wrote: One situation I really want to avoid with perl-beginners is having the "old hands" here send people to other lists, only to have the people on those other lists say "we don't have time to hold your hand, maybe you should ask on perl-beginners instead"

Re: Template toolkit issue [SOLVED]

2012-05-03 Thread Lawrence Statton
On 05/03/2012 07:41 AM, Mark Haney wrote: On 05/02/2012 03:53 PM, Octavian Rasnita wrote: I'm really quite intrigued by the assertion that CGI is very seldom used. Well, do you mean "CGI.pm" the perl module, which is, AFAIK rarely used any more except in legacy applications. Gosh knows

Re: Template toolkit issue [SOLVED]

2012-05-03 Thread Mark Haney
On 05/03/2012 09:06 AM, John SJ Anderson wrote: I'm really quite intrigued by the assertion that CGI is very seldom used. There are two senses of "CGI" that are being conflated here. There's CGI-the-protocol -- i.e., dynamic web content -- which is used all the time all over the place. And

topic areas for perl-beginners list (was: Re: Template toolkit issue [SOLVED])

2012-05-03 Thread John SJ Anderson
> Sorry, but this is a beginners list. Questions about learning Perl or the > modules in perlmodlib are consider beginners questions. Questions about > other modules are not. No offense intended, but I disagree. None of the questions in this thread have been off-topic for perl-beginners. (perl-b

Re: Template toolkit issue [SOLVED]

2012-05-03 Thread Shawn H Corey
On 12-05-03 08:41 AM, Mark Haney wrote: since I'm not getting as much help as I expected in a /beginners/ list Sorry, but this is a beginners list. Questions about learning Perl or the modules in perlmodlib are consider beginners questions. Questions about other modules are not. For questio

Re: Template toolkit issue [SOLVED]

2012-05-03 Thread John SJ Anderson
On May 3, 2012, at 8:41 AM, Mark Haney wrote: I think we're at the point where everybody in this thread needs to take a deep breath and step back from the keyboard for a bit, maybe go for a walk or something. The phrase "more heat than light" is coming to mind. (Aside for anybody else consi

Re: Template toolkit issue [SOLVED]

2012-05-03 Thread Mark Haney
On 05/02/2012 03:53 PM, Octavian Rasnita wrote: Perl is a programming language, not a language which is used only for web programming, so why should you think that Template Toolkit includes CGI? Nowadays CGI is very seldom used, so others might be thinking that it should include PSGI or anothe

Re: Template toolkit issue [SOLVED]

2012-05-02 Thread Octavian Rasnita
From: "Mark Haney" Subject: Re: Template toolkit issue [SOLVED] On 05/02/2012 11:01 AM, Lawrence Statton wrote: I see nowhere in this code where you are producing HTTP headers. Are you calling this as a CGI? Which web server? I got it working now. I was under the assumptio

Re: Template toolkit issue [SOLVED]

2012-05-02 Thread Mark Haney
On 05/02/2012 11:01 AM, Lawrence Statton wrote: I see nowhere in this code where you are producing HTTP headers. Are you calling this as a CGI? Which web server? I got it working now. I was under the assumption that the TEMPLATE module included CGI and that adding CGI and going th

Re: Template toolkit issue

2012-05-02 Thread Mark Haney
On 05/02/2012 11:01 AM, Lawrence Statton wrote: I see nowhere in this code where you are producing HTTP headers. Are you calling this as a CGI? Which web server? It's being called as a CGI, it's in /cgi-bin and it appears to execute on the CLI and the browser. It's similar to the other

Re: Template toolkit issue

2012-05-02 Thread Lawrence Statton
On 05/02/2012 09:55 AM, Mark Haney wrote: On 05/02/2012 10:44 AM, Robert Wohlfarth wrote: On Wed, May 2, 2012 at 9:19 AM, Lawrence Statton wrote: Whitespace between the end of the HTTP headers and te beginning of HTML content is immaterial. Does the test script send back HTTP headers? The

Re: Template toolkit issue

2012-05-02 Thread Chris Stinemetz
On Wed, May 2, 2012 at 8:29 AM, Mark Haney wrote: > Okay, I've bit the bullet and started mucking with the perl template toolkit > instead of mixing PHP and perl.  But I've hit a bizarre problem and I hope > someone can point me to a fix.  I'm stumped. > > I've been following the base static and d

Re: Template toolkit issue

2012-05-02 Thread Mark Haney
On 05/02/2012 10:44 AM, Robert Wohlfarth wrote: On Wed, May 2, 2012 at 9:19 AM, Lawrence Statton wrote: Whitespace between the end of the HTTP headers and te beginning of HTML content is immaterial. Does the test script send back HTTP headers? The description sounds like the script just ge

Re: Template toolkit issue

2012-05-02 Thread Robert Wohlfarth
On Wed, May 2, 2012 at 9:19 AM, Lawrence Statton wrote: > > Whitespace between the end of the HTTP headers and te beginning of HTML > content is immaterial. > Does the test script send back HTTP headers? The description sounds like the script just generates the HTML document - no HTTP headers. I

Re: Template toolkit issue

2012-05-02 Thread Lawrence Statton
On 05/02/2012 09:13 AM, Mark Haney wrote: On 05/02/2012 09:58 AM, Lawrence Statton wrote: You are most likely not sending an appropriate Content-Type header. I didn't think about that, but when I went back and specified the Content-Type as text/html I still get the same problem. However,

Re: Template toolkit issue

2012-05-02 Thread Mark Haney
On 05/02/2012 09:58 AM, Lawrence Statton wrote: You are most likely not sending an appropriate Content-Type header. I didn't think about that, but when I went back and specified the Content-Type as text/html I still get the same problem. However, I have noticed that, for some reason, the

Re: Template toolkit issue

2012-05-02 Thread Lawrence Statton
On 05/02/2012 08:29 AM, Mark Haney wrote: Okay, I've bit the bullet and started mucking with the perl template toolkit instead of mixing PHP and perl. But I've hit a bizarre problem and I hope someone can point me to a fix. I'm stumped. I've been following the base static and dynamic content gen

Template toolkit issue

2012-05-02 Thread Mark Haney
Okay, I've bit the bullet and started mucking with the perl template toolkit instead of mixing PHP and perl. But I've hit a bizarre problem and I hope someone can point me to a fix. I'm stumped. I've been following the base static and dynamic content generation tutorials and am fairly comfor