NAME

B::Foreach::Iterator - Increases foreach iterators

VERSION

This document describes B::Foreach::Iterator version 0.01.

SYNOPSIS

use B::Foreach::Iterator;

for my $key(foo => 10, bar => 20, baz => 30){
	printf "%s => %s\n", $key => iter_inc;
}

DESCRIPTION

B::Foreach::Iterator provides functions that manipulate foreach iterators.

INTERFACE

Exported functions

iter_inc()

Increases the iterator of current foreach loops and returns its value.

iter_next()

Returns the value of the next iterator of current foreach loops. Does not increases the iterator.

DEPENDENCIES

Perl 5.8.1 or later, and a C compiler.

BUGS

No bugs have been reported.

Please report any bugs or feature requests to the author.

SEE ALSO

perlguts.

pp_hot.c.

AUTHOR

Goro Fuji <gfuji(at)cpan.org>.

LICENSE AND COPYRIGHT

Copyright (c) 2009, Goro Fuji. Some rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.