in reply to Re: displaying html file in the browser using perl
in thread displaying html file in the browser using perl

Thank you so much . Its not that there will always be an include file so i will need to exception rules and print the file accordingly. I have tried your code and unfortunately it does the same thing prints out the file which is probably aa.html but not the include file . Below is how my html file looks that i am trying to read with perl
<HTML> <body> <!--#include file="somefolder/cc.html" --> </body> </html>

Replies are listed 'Best First'.
Re^3: displaying html file in the browser using perl
by haukex (Archbishop) on Dec 17, 2016 at 12:37 UTC

    Hi tsdesai,

    That looks like Server-Side Includes, and it would have been better if you had shown this in the original post. A quick search on CPAN reveals CGI::SSI, perhaps that module can help you.

    Regards,
    -- Hauke D

      yes, it server side includes in the html page. I will have to go through it. Not sure how much success, i am going to get.