Paulo Custodio > Asm-Preproc-0.07 > Asm::Preproc::Stream

Download:
Asm-Preproc-0.07.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 0.07   Source   Latest Release: Asm-Preproc-0.08

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.

syntax highlighting: