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
can be translated to: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";
Plus... it can be used by multiple users at once! It does sessions via cookies by default.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>"); }
--Brock (awwaiid)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Try Continuity :)
by awwaiid (Friar) on Apr 23, 2010 at 19:18 UTC |