NAME
Asm::Preproc::Stream - Deprecated, use Iterator::Simple::Lookahead instead
SYNOPSIS
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->();
DESCRIPTION
Deprecated.
FUNCTIONS
new
Creates iterator.
head
Calls peek() from Iterator::Simple::Lookahead.
get
Calls next() from Iterator::Simple::Lookahead.
unget
Calls unget() from Iterator::Simple::Lookahead.
iterator
Return an iterator function that returns the next stream element on each call.
ACKNOWLEDGEMENTS
Inspired in HOP::Stream.
BUGS, FEEDBACK, AUTHOR, LICENCE and COPYRIGHT
See Asm::Preproc.