Michael Shipper > Data-Range-Compare-Stream-4.027 > Data::Range::Compare::Stream::Iterator::Consolidate::FileAsc

Download:
Data-Range-Compare-Stream-4.027.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source   Latest Release: Data-Range-Compare-Stream-4.029

NAME ^

Data::Range::Compare::Stream::Iterator::Consolidate::FileAsc - iterator for Pre Consolidated/Sorted files

SYNOPSIS ^

  use Data::Range::Compare::Stream;
  use Data::Range::Compare::Stream::Iterator::Consolidate::FileAsc;

  my $iterator=Data::Range::Compare::Stream::Iterator::Consolidate::FileAsc->new(
    filename=>'some_file.csv',
  );

  while($iterator->has_next) {
    my $result=$iterator->get_next;
    print $result,"\n";
  }

DESCRIPTION ^

This module implements a very simple file iterator interface. This iterator interface assumes that the data is pre-sorted and pre-consolidated. The result objects returned are a container class: Result containers are constructed from $iterator->RESULT_FROM. The class objects contained within the result object are constructed from $iterator->NEW_FROM. Parsing is handled by $iterator->parse_line.

OO Methods

SEE ALSO ^

Data::Range::Compare::Stream::Cookbook

AUTHOR ^

Michael Shipper

Source-Forge Project ^

As of version 0.001 the Project has been moved to Source-Forge.net

Data Range Compare https://sourceforge.net/projects/data-range-comp/

COPYRIGHT ^

Copyright 2011 Michael Shipper. All rights reserved.

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

syntax highlighting: