While I share your fascination with functional programming, I can't help getting the feeling like I'm watching an episode of MacGyver. You know, like how he takes a swiss army knife and uses it in all these bizarre ways that it was never designed for in order to save the day.
in reply to When would you use functional programming?
I guess I should add that I get a similar feeling looking at OO Perl code. Maybe I'm just an ol' fuddy duddy, but for functional stuff, I'll stick to the other Camel.
I'm not just knocking what you are posting. I do think that it's important to push and stretch a langauge to it's limits. It just gives me kind of an oogee feeling watching you do it. It seems so clean and clear in a functional language, and so ugly and warped in Perl.