Re: Embedding Perl in HTML

2011-04-22 Thread David Christensen
On 04/22/2011 11:22 AM, sono...@fannullone.us wrote: On Apr 22, 2011, at 10:21 AM, Agnello George wrote: my $tt = Template->new( INCLUDE_PATH => "/var/template" ) || die "template process failed:$!"; $tt->process("form.tmpl",\%tag) || die $tt->error(); It appears that I'd have to expl

Re: Embedding Perl in HTML

2011-04-22 Thread David Christensen
On 04/22/2011 05:33 PM, sono...@fannullone.us wrote: > I've been working with an older Perl shopping cart script and the placeholders it uses are only accessible on pages that are placed under the cgi-bin directory, Is there documentation for this script on the WWW? If so, what is the URL?

Re: Embedding Perl in HTML

2011-04-22 Thread shawn wilson
On Fri, Apr 22, 2011 at 11:15 PM, David Christensen wrote: > On 04/22/2011 10:11 AM, sono...@fannullone.us wrote: > >>       I realize that this list may not be the best, or even most >> appropriate, place to ask this question, but I'm just so curious that I'm >> losing sleep over it! =;) >>      

Re: Embedding Perl in HTML

2011-04-22 Thread David Christensen
On 04/22/2011 10:11 AM, sono...@fannullone.us wrote: > I realize that this list may not be the best, or even most appropriate, place to ask this question, but I'm just so curious that I'm losing sleep over it! =;) > What is the best way to embed perl in an HTML file that is _not_ located unde

Re: Embedding Perl in HTML

2011-04-22 Thread sono-io
> I don't understand why you involve cgi-bin in your question, I was trying to be concise, and not take up too much space and time on something that may not have been appropriate for this list, but apparently I was more vague than concise. =:\ Sorry. I've been working with an o

Re: Embedding Perl in HTML

2011-04-22 Thread shawn wilson
On Fri, Apr 22, 2011 at 2:55 PM, Dr.Ruud wrote: > On 2011-04-22 19:11, sono...@fannullone.us wrote: > >> What is the best way to embed perl in an HTML file that is _not_ located >> under the cgi-bin directory? > > I don't understand why you involve cgi-bin in your question, but maybe you > are loo

Re: Embedding Perl in HTML

2011-04-22 Thread Dr.Ruud
On 2011-04-22 19:11, sono...@fannullone.us wrote: What is the best way to embed perl in an HTML file that is _not_ located under the cgi-bin directory? I don't understand why you involve cgi-bin in your question, but maybe you are looking for PLP: http://search.cpan.org/~shiar/PLP/ -- Ruud

Re: Embedding Perl in HTML

2011-04-22 Thread Octavian Rasnita
From: I realize that this list may not be the best, or even most appropriate, place to ask this question, but I'm just so curious that I'm losing sleep over it! =;) What is the best way to embed perl in an HTML file that is _not_ located under the cgi-bin directory? I started learning PHP for

Re: Embedding Perl in HTML

2011-04-22 Thread sono-io
On Apr 22, 2011, at 11:20 AM, shawn wilson wrote: > says server side includes to me. > says template toolkit Thanks, Shawn. I'll give these a try, as well as the others you mentioned in your previous email. I hadn't heard of PerlDancer before, but it looks interesting. I ha

Re: Embedding Perl in HTML

2011-04-22 Thread sono-io
On Apr 22, 2011, at 10:21 AM, Agnello George wrote: > my $tt = Template->new( INCLUDE_PATH => "/var/template" ) || die > "template process failed:$!"; > $tt->process("form.tmpl",\%tag) || die $tt->error(); It appears that I'd have to explicitly name the template file in my script. If t

Re: Embedding Perl in HTML

2011-04-22 Thread shawn wilson
On Fri, Apr 22, 2011 at 2:10 PM, wrote: > On Apr 22, 2011, at 10:35 AM, shawn wilson wrote: > >> either you're phrasing things wrong or i'm misunderstanding things. > >        It's probably the former. =:\  I'm looking for a way to add snippets > of perl to my HTML pages, says server side

Re: Embedding Perl in HTML

2011-04-22 Thread sono-io
On Apr 22, 2011, at 10:35 AM, shawn wilson wrote: > either you're phrasing things wrong or i'm misunderstanding things. It's probably the former. =:\ I'm looking for a way to add snippets of perl to my HTML pages, something similar to what PHP offers . At this point, I don't need power

Re: Embedding Perl in HTML

2011-04-22 Thread shawn wilson
On Fri, Apr 22, 2011 at 1:21 PM, Agnello George wrote: > On Fri, Apr 22, 2011 at 10:41 PM,   wrote: >>        I realize that this list may not be the best, or even most >> appropriate, place to ask this question, but I'm just so curious that I'm >> losing sleep over it! =;) >> >>        What is

Re: Embedding Perl in HTML

2011-04-22 Thread shawn wilson
either you're phrasing things wrong or i'm misunderstanding things. either way, i'll answer as i understand the questions. On Fri, Apr 22, 2011 at 1:11 PM, wrote: >        I realize that this list may not be the best, or even most > appropriate, place to ask this question, but I'm just so curio

Re: Embedding Perl in HTML

2011-04-22 Thread Agnello George
On Fri, Apr 22, 2011 at 10:41 PM, wrote: >        I realize that this list may not be the best, or even most > appropriate, place to ask this question, but I'm just so curious that I'm > losing sleep over it! =;) > >        What is the best way to embed perl in an HTML file that is _not_ > loc

Embedding Perl in HTML

2011-04-22 Thread sono-io
I realize that this list may not be the best, or even most appropriate, place to ask this question, but I'm just so curious that I'm losing sleep over it! =;) What is the best way to embed perl in an HTML file that is _not_ located under the cgi-bin directory? I started learnin

Re: embedding perl in html

2003-03-26 Thread Navid M.
Simple Example: Embed Demo Counting from 0 to 4! <% # perl code foreach $i (0..4) { # starts a small loop %> <%=$i%> #loop variable is printed for each number from 0 to 4 <% } # end of loop %> Finished! --- David O'Dell <[EMAIL PROTECTED]> wrote: > Is there a way to place a pe

Re: embedding perl in html

2003-03-26 Thread George Schlossnagle
On Wednesday, March 26, 2003, at 07:49 PM, Morten Liebach wrote: On 2003-03-26 16:29:27 -0800, David O'Dell wrote: Is there a way to place a perl statement in a plain html file? I've been given the task of placing two pieces of dymanic data in an already existing page written in html. http://perl

Re: embedding perl in html

2003-03-26 Thread Morten Liebach
On 2003-03-26 16:29:27 -0800, David O'Dell wrote: > Is there a way to place a perl statement in a plain html file? > I've been given the task of placing two pieces of dymanic data in an > already existing page written in html. http://perl.apache.org/embperl/ perhaps? Haven't tried myself. I'm r

embedding perl in html

2003-03-26 Thread David O'Dell
Is there a way to place a perl statement in a plain html file? I've been given the task of placing two pieces of dymanic data in an already existing page written in html. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]