Nothing wrong with your requirements, and nothing that is incompatible with "run your own web service."
  1. Copy perl scripts and data files to this location, and make a link on the desktop that launches the main perl script. The main script can adjust @INC to use its own private stash of modules.
  2. A perl script can bring up the user's IE with a simple statement: system("start/b  http://localhost:2345/").
  3. If your web service only accepts connections originating from localhost, it's not going to open up problems on the LAN or internet.
  4. I haven't suggested you exploit any vulnerability to implement this.

It would be harder to decide when to stop, since the user's free to wander off and browse other pages, or close the IE session.

Update: Look into HTTP::Daemon for a start, but that's only one option. I'm sure there's others.

--
[ e d @ h a l l e y . c c ]


In reply to Re: Re: Re: Browsers as stand-alone UI by halley
in thread Browsers as stand-alone UI by dragonchild

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.