Man Page: cps::governor::simple
Operating Environment: debian
Section: 3pm
CPS::Governor::Simple(3pm) User Contributed Perl Documentation CPS::Governor::Simple(3pm)NAME"CPS::Governor::Simple" - iterate immediately as fast as possibleSYNOPSISuse CPS qw( gkforeach ); use CPS::Governor::Simple; my $gov = CPS::Governor::Simple->new; gkforeach( $gov, [ 1 .. 10 ], sub { my ( $item, $knext ) = @_; print "$item "; goto &$knext; }, sub {}, );DESCRIPTIONThis CPS::Governor allows the functions using it to run as fast as possible. It invokes its continuations immediately using a tailcall, so as not to let the stack grow arbitrarily. Its constructor takes no special arguments, and it provides no other methods beyond those of "CPS::Governor".AUTHORPaul Evans <leonerd@leonerd.org.uk> perl v5.14.2 2012-06-27 CPS::Governor::Simple(3pm)
| Related Man Pages |
|---|
| cps(3pm) - debian |
| authen::simple(3pm) - debian |
| cps::future(3pm) - debian |
| pod::simple::wiki::confluence(3pm) - debian |
| pod::simple::wiki::twiki(3pm) - debian |
| Similar Topics in the Unix Linux Community |
|---|
| Adding the individual columns of a matrix. |
| awk or sed - Convert 2 lines to 1 line |
| How can I do this in VI editor? |
| My first PERL incarnation... Audio Oscillograph |