parsifal has asked for the wisdom of the Perl Monks concerning the following question:

Another newbie question...I have written and extensive POS system using perl scripts and HTML, usable through a (non-lynx) web browser. I was wondering if there was a good way to change my scripts into a standalone application and still use markup (HTML provides convenient manipulation of text size, emphasis, and placement.)

Thanks.

Replies are listed 'Best First'.
Re: markup to standalone
by chromatic (Archbishop) on Apr 01, 2001 at 01:52 UTC
    Jellybean is a small, persistent web server written completely in Perl. It's fairly easy to convert a standalone application into a Jellybean object, especially if it already outputs HTML.

    I think this fits what you're asking. Otherwise, you might have to find a front end system that will display HTML correctly, which isn't too difficult, but it's the opposite approach.

Re: markup to standalone
by jepri (Parson) on Mar 31, 2001 at 21:47 UTC
    A program I have (pronto mailer) uses HTML::Parser and some other tricks, including some weird gtk library to display HTML as a help file without a web server.

    But web servers come pretty small and cheap thesedays. It wouldn't be asking to much to demand that your users be running one to use your program. Most linuxes install Apache by default anyway. (I know, that's not small)

    ____________________
    Jeremy
    I didn't believe in evil until I dated it.