Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Perl web browsers

by Wassercrats
on Dec 20, 2003 at 21:04 UTC ( #316092=perlquestion: print w/replies, xml ) Need Help??

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

I read Perl Web Browser? but I'm wondering if there is any new news or if someone could see if this page renders correctly (as it does in the latest IE, Netscape and Opera) in a browser written in Perl. That page is the interface I'm working on for a web application, which I might make available for download.

Since the interface is a form, I'm thinking of using MicroWeb (expensive) or one of the components of cg-eye to enable the cgi to work locally on Windows. I'm thinking of having the interface displayed in a customized browser, especially if I use MicroWeb, for a customized look and so I could make it more obvious that the interface is being run on the local computer. The browser might also be considered a little bonus since it could be used without my program. I might use PAR or Devil::PreProcessor and Perl2exe to obfuscate the code a little. It might be shareware, but not freeware and not open source.

Replies are listed 'Best First'.
Re: Perl web browsers
by chromatic (Archbishop) on Dec 20, 2003 at 21:37 UTC

    Why not let the user use his preferred web browser? It'd be easy to write a launcher for Jellybean to launch a web browser pointing to the appropriate URL and port, for example.

    Of course, there are lots of ways you can build your own mini-web server.

      Since my form uses post, I guess it Jellybean wouldn't work.

      09 September 2003

      I added Jellybean::Container::CGI, a container that allows you to run CGI programs from Jellybean. Yeah, it seems like a weird thing, but it's very handy. It's currently limited to very simple programs GET is supported. POST is not. Query strings are supported. Cookies are not.

        Right, if you need to launch an external program via the CGI interface, it doesn't yet support POST. If you invoke it through the Jellybean::Container interface, you can do anything you like.

        That's not to say I can't (or won't) enhance Jellybean::Container::CGI to handle POST requests. It's just that I haven't yet had the need. :)

Re: Perl web browsers
by jZed (Prior) on Dec 20, 2003 at 21:39 UTC
    > using MicroWeb (expensive)

    How about TinyPerl, or even a home cooked server with POE?

Re: Perl web browsers
by TomDLux (Vicar) on Dec 20, 2003 at 23:14 UTC

    I respect your right to charge people money for your software ... after all, it represents your work.

    I'm sure you wouldn't want people to provide answers to your questions for free. Many of us are consultants. Track people's web sites and you'll see the appropriate rate to pay.


Re: Perl web browsers
by Wassercrats on Dec 20, 2003 at 23:31 UTC
    Jellybean and TinyPerl sound good too. I have more choices than I thought.

    Tom - I'm afraid I'll just have to pay back PerlMonks by helping people when I know the answer to something. If there's a (previously) unspoken rule that you only seek help here for open source material or freeware, then I'll ask my questions somewhere else. I'm not charging people for site maps that the current version of LinkStructor creates because I need to test it, so maybe that counts for something.

Re: Perl web browsers
by Wassercrats on Dec 20, 2003 at 23:39 UTC
    By the way, the only reason I disabled the form is because it doesn't point to the newest version of the script, which I havn't converted for the online version yet. Also, my web host has a 30 second run time limit which causes alot of timeouts, and though I think my script is pretty secure, I'd like to be more sure before I enable monk usage. For now, I just run it on Windows at home.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://316092]
Approved by talexb
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (9)
As of 2021-04-21 07:53 GMT
Find Nodes?
    Voting Booth?

    No recent polls found