#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    2
    Rep Power
    0
    If Mod Perl is installed, can you embed Perl in html documents like you do in PHP??

    Is there a PERL tag that you have to use to seperate the embedded perl from the rest of the document?



    ------------------
    In any large organization, if you have to ask the question: "Why?" the answer almost always starts with "Money".
  2. #2
  3. No Profile Picture
    freebsd
    Guest
    Devshed Newbie (0 - 499 posts)
    >>can you embed Perl in html documents like you do in PHP??

    YES

    >>Is there a PERL tag that you have to use to seperate the embedded
    >>perl from the rest of the document?

    YES

    [$ ... $]

    Pleae go to http://perl.apache.org
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    16
    Rep Power
    0
    <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by FED:
    If Mod Perl is installed, can you embed Perl in html documents like you do in PHP??
    [/quote]

    mod_perl .. or perhaps modperl .
    http://search.cpan.org/doc/GRICHTER/...-1.3b3/Faq.pod
    http://search.cpan.org/doc/JSWARTZ/H..._mason_faq.pod

    But I abhor the idea of mixing markup with code. Ugggg ... Here is a good module where you can separate your html 100% of the time:
    http://search.cpan.org/doc/SAMTREGAR....7/Template.pm

    I have been using that with mod_perl and it is working like a charm.

    Peter


IMN logo majestic logo threadwatch logo seochat tools logo