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

Re: HTML as GUI for Perl program

by davido (Archbishop)
on Jan 04, 2013 at 22:49 UTC ( #1011733=note: print w/replies, xml ) Need Help??

in reply to HTML as GUI for Perl program

It's a whole lot easier if you relax the "no server" requirement. Maybe easier than you suppose. You could build the application's business logic, thinly wrap it in a Mojolicious::Lite interface, and use Mojolicious's built-in server to serve it on any port of your choosing. Don't open the port to the outside world at your firewall, and restrict (using a route bridge, or "under" in Mojolicious::Lite) the client's IP to just the local machine if outside access is of concern.

Done right, at the command line you would type, "./ daemon" to start it up on port 3000, for example.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1011733]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (15)
As of 2016-10-25 09:20 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (315 votes). Check out past polls.