You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Dennis <De...@chosenpathways.com> on 2000/04/22 18:13:18 UTC

Trying to setup embedded Perl

Hey 

can you throw some helpful hints on the problem I'm having ?   

I'm trying to move a working site from singleslibrary.com to my server.  Unfortunately the guy who wrote the site for us is not available anymore .. and nobody seems to know what to do, including me.
What I'm trying to do is setup the following: 
I have HTML code, the one like in P.S.
and it seems to have Perl embedded in between <:   >   and <!--    --> brackets

can Apache handle that ?  do I need some other program ?  Just wondering if I can use apache to do that


P.S.

I took the following HTML/Perl parts from http://singleslibrary.com/dynahtml/singles/sample.html  

<tr VALIGN=bottom><td align=right>Do you have children?</td><td><font COLOR=#002070><b><:&field('chihome')></b></font></td></tr>
EOF
<:&htmlselect( 'chil', CHIHOME, NULL )>
<tr VALIGN=bottom><td align=right>Do you drink?</td><td><font COLOR=#002070><b><:&field('drink')></b></font></td></tr>
<tr VALIGN=bottom><td align=right> Do you smoke?</td><td><font COLOR=#002070><b><:&field('smoke')></b></font></td></tr>


<!--: &skip( time %3 ) -->
<A &href_ifpw("home.html","active.html") TARGET=_top><IMG Align=Top SRC="/htdocs/singles/images/profiles1.jpg" BORDER=0></A><!--: &skip(2) -->
<A &href_ifpw("home.html","active.html") TARGET=_top><IMG Align=Top SRC="/htdocs/singles/images/profiles2.jpg" BORDER=0></A><!--: &skip(1) -->
<A &href_ifpw("home.html","active.html") TARGET=_top><IMG Align=Top SRC="/htdocs/singles/images/profiles3.jpg" BORDER=0></A>
<P>

Re: Trying to setup embedded Perl

Posted by Edward Thomas <ej...@cyno.co.uk>.
It seems as if this site is already running Apache/mod_perl (according to
Netcraft) so as long as you can get hold of the particular module
responsible for this then you should have no problems.

--
  Edward Thomas | ejt@cyno.co.uk
Cynosure Design | www.cyno.co.uk


----- Original Message -----
From: "Dennis" <De...@chosenpathways.com>
To: <mo...@apache.org>
Sent: Saturday, April 22, 2000 5:13 PM
Subject: Trying to setup embedded Perl


Hey

can you throw some helpful hints on the problem I'm having ?

I'm trying to move a working site from singleslibrary.com to my server.
Unfortunately the guy who wrote the site for us is not available anymore ..
and nobody seems to know what to do, including me.
What I'm trying to do is setup the following:
I have HTML code, the one like in P.S.
and it seems to have Perl embedded in between <:   >   and <!--    -->
brackets

can Apache handle that ?  do I need some other program ?  Just wondering if
I can use apache to do that


P.S.

I took the following HTML/Perl parts from
http://singleslibrary.com/dynahtml/singles/sample.html

<tr VALIGN=bottom><td align=right>Do you have children?</td><td><font
COLOR=#002070><b><:&field('chihome')></b></font></td></tr>
EOF
<:&htmlselect( 'chil', CHIHOME, NULL )>
<tr VALIGN=bottom><td align=right>Do you drink?</td><td><font
COLOR=#002070><b><:&field('drink')></b></font></td></tr>
<tr VALIGN=bottom><td align=right> Do you smoke?</td><td><font
COLOR=#002070><b><:&field('smoke')></b></font></td></tr>


<!--: &skip( time %3 ) -->
<A &href_ifpw("home.html","active.html") TARGET=_top><IMG Align=Top
SRC="/htdocs/singles/images/profiles1.jpg" BORDER=0></A><!--: &skip(2) -->
<A &href_ifpw("home.html","active.html") TARGET=_top><IMG Align=Top
SRC="/htdocs/singles/images/profiles2.jpg" BORDER=0></A><!--: &skip(1) -->
<A &href_ifpw("home.html","active.html") TARGET=_top><IMG Align=Top
SRC="/htdocs/singles/images/profiles3.jpg" BORDER=0></A>
<P>