aalneyperl:

To answer your questions:

1) If you don't use a webserver, then you'll need to put the resulting output file on your machine and point the browser at that file, e.g., "file:///C:/WWWTemp/foo.html".

2) You can run your perl program manually (such as from a DOS window) to regenerate your html file. If it's a simple status monitoring page, just run it as a scheduled job periodically. Then make a bookmark to your local status page, and you can check it whenever you like.

3) HTML::Template tutorial is going to show you how to use it. It's a tool that lets you make HTML documents. It's not going to show you how to deliver the documents. It's a totally different job...

4) You can place the files anywhere you like. The perl/cgi-bin is a convention used for web servers (as far as I know ... I've never made a perl web app before). If you're creating your own, you can make your own conventions.

FYI: You could make it an active document such that you could have an HTML document on your machine, and have a bit of VBScript (if you're using IE) call your perl script to do the job.

Hope this helps!

...roboticus


In reply to Re: Help with HTML:Template by roboticus
in thread Help with HTML:Template by aalneyperl

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.