http://www.perlmonks.org?node_id=836588


in reply to Re^4: WebGUI::Easy - a quick way to give your perl program a web-based user interface
in thread CGI::AppEasy - a quick way to give your perl program a web-based user interface

Check out Continuity!
print "What is your name? "; my $name = <>; chomp $name; print "What is your quest? "; my $quest = <>; chomp $quest; print "Good luck, $name! May you $quest\n";
can be translated to:
use Continuity; Continuity->new->loop; sub main { my $r = shift; $r->print("What is your name? <form><input name=name>"); $r->next; my $name = $r->param('name'); $r->print("What is your quest? <form><input name=quest>"); $r->next; my $quest = $r->param('quest'); $r->print("Good luck, $name! May you $quest<br>"); }
Plus... it can be used by multiple users at once! It does sessions via cookies by default.

--Brock (awwaiid)

Replies are listed 'Best First'.
Re: Try Continuity :)
by awwaiid (Friar) on Apr 23, 2010 at 19:18 UTC
    Let me add... your solution is very cool too, and makes for more weby-apps. Good stuff. I was just evangelizing a bit, but don't actually want to distract from your work :)