in reply to Re^2: display html file from Perl
in thread display html file from Perl

having constructed the HTMLfile, I want to display it via a Perl script programatically/automatically. The HTML file has a series of input forms; it is interactive as opposed to static.

Replies are listed 'Best First'.
Re^4: display html file from Perl
by Corion (Patriarch) on Jul 10, 2017 at 12:35 UTC

    If you say "interactive", what do you think should happen if there is user interaction?

    If you want to run Perl code upon the user interaction, you will need a web server through which you ideally send the HTML data and to which you submit the form data.

    See Mojolicious::Lite or Dancer2 for a simple webserver and simple way to act upon user interaction.

    If you want something else to happen, consider describing it in more detail.

    Personally I am somewhat unclear if you know how a browser, HTML and the webserver interact.