mantralapse has asked for the wisdom of the Perl Monks concerning the following question:

I have a customer that moved his site to our servers. He has HTML pages that contain CGI/Perl and my knowledge of Perl is limited. His .HTML pages contain code like the following: <icmd name="include" file="header.html"> The above includes work on the .CGI pages but not .HTML, he also has CGI script embeding in the HTML but its wrapped with %{ and }% and I have not been able to find a embed perl module that uses that syntax. I have looked at PEE, Mason, perlembed and Apache::ASP. If you know what module I seek, I would greatly appreciate a link! Or if there is a way to modify one of the above modules to allow use of %{ and }% that would work too. Thanks! Just got FTP access to his up host and uploaded a file to dump all the perl module information, looks like HTML::Template was installed, going to try that.
  • Comment on What embed perl module do I need to use?

Replies are listed 'Best First'.
Re: What embed perl module do I need to use?
by mantralapse (Initiate) on Nov 29, 2008 at 16:34 UTC
    HTML::Template doesnt appear to be able to embed the cgi/perl in the HTML files,,, only include. heres a dump of their old host's server. http://76.12.89.194/perlinfo.html
Re: What embed perl module do I need to use?
by Your Mother (Archbishop) on Nov 30, 2008 at 21:04 UTC

    I don't recognize that embed syntax either, but I don't know all the libraries. It's quite possible it's custom. Many hackers cut/break their teeth on doing their own templating systems. You'll probably get a better answer here if you can follow up with some code from one of the CGIs. Something shorter is more likely to get responses. :)