By Bob Rogers from Boston.pm
Date: Tuesday June 17, 2008 16:05
Duration: 45 minutes
Target audience: Advanced
Tags: parrot


We all know about "for" and "while" loops -- they are implemented with gotos -- but what really happens when you "goto" a label that is outside the sub? How does error handling work under the hood? What's a coroutine good for, and how does it work?

The answers to all of these questions involve something called a "continuation," which is just a generalized goto. Come find out how continuations work in Parrot, and see how they support advanced programming techniques.

Perl Sites : perl | books | dev | history | jobs | learn | lists | use   
Yet Another Perl Conference North America