Manual Reference Pages - CPS::GOVERNOR::SIMPLE (3)
"CPS::Governor::Simple" - iterate immediately as fast as possible
use CPS qw( gkforeach );
my $gov = CPS::Governor::Simple->new;
gkforeach( $gov, [ 1 .. 10 ],
my ( $item, $knext ) = @_;
This 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.
Paul Evans <email@example.com>
|perl v5.20.3 ||CPS::GOVERNOR::SIMPLE (3) ||2016-03-17 |
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.