Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Try Continuity :)

by awwaiid (Friar)
on Apr 23, 2010 at 19:16 UTC ( #836588=note: print w/replies, xml ) Need Help??


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 :)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (2)
As of 2021-09-18 18:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?