Asm::Preproc::Stream - Deprecated, use Iterator::Simple::Lookahead instead
use Asm::Preproc::Stream; my $stream = Asm::Preproc::Stream->new(@input) my $head = $stream->head; my $next = $stream->get; $stream->unget(@items); my $it = $stream->iterator; my $next = $it->();
Deprecated.
Creates iterator.
Calls peek() from Iterator::Simple::Lookahead.
Calls next() from Iterator::Simple::Lookahead.
Calls unget() from Iterator::Simple::Lookahead.
Return an iterator function that returns the next stream element on each call.
Inspired in HOP::Stream.
See Asm::Preproc.
To install Asm::Preproc, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Asm::Preproc
CPAN shell
perl -MCPAN -e shell install Asm::Preproc
For more information on module installation, please visit the detailed CPAN module installation guide.