in reply to Contextual::Return and Want, any major difference?
I haven't tried them, but I think you've summarized the difference accurately.
I might add that Contextual::Return mimics Perl 6 way of context flow. In Perl 6, a subroutine cannot know in which context it is called in (that information is not computable), so the way react to context is returning object that behave smartly according to the context they are used in.
According to TheDamian, Contextual::Return is "safe, robust, and handy, and which Damian regularly uses in his own deployed code".
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Contextual::Return and Want, any major difference?
by mascip (Pilgrim) on Mar 03, 2012 at 15:02 UTC |