Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: display html file from Perl

by Happy-the-monk (Abbot)
on Jul 07, 2017 at 19:40 UTC ( #1194530=note: print w/replies, xml ) Need Help??


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

What is your problem: Do you

  • ... want to output the HTML from the file to the terminal?
  • ... want to show a web page in a browser window?
  • Or is it something else?

Cheers, Sören

Créateur des bugs mobiles - let loose once, run everywhere.
(hooked on the Perl Programming language)

Replies are listed 'Best First'.
Re^3: display html file from Perl
by Anonymous Monk on Jul 10, 2017 at 12:31 UTC
    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.

      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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1194530]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (10)
As of 2017-11-21 21:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (312 votes). Check out past polls.

    Notices?