NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Continuations (Score:2)
Continuations are one of the things (among others, I'm told) that Ruby borrowed from Lisp. At least one framework, Borges [rubyforge.org], uses continuations as a way to deal with state.
Unfortunately, I'm not one of those people smart enough to figure out how I can use continations to my advantage in daily work.
Reply to This
Re:Continuations (Score:1)
Almost every web app spends most of its time just recreating a state that it understands. And the logic of transitions between pages have to be unrolled into a big switch statement up front.
If perl 7 had continuations, you could do this: