NAME
Math::NumSeq::File -- sequence read from a file
SYNOPSIS
use Math::NumSeq::File;
my $seq = Math::NumSeq::File->new (filename => 'foo.txt');
my ($i, $value) = $seq->next;
DESCRIPTION
A sequence of values read from a file. This is designed to read a file of numbers in NumSeq style.
The intention is to be flexible about the file format and to auto-detect as far as possible. Currently the only format is plain text, either a single value per line, or a pair i and value.
123 # value per line
456
1 123 # i and value per line
2 456
FUNCTIONS
See "FUNCTIONS" in Math::NumSeq for behaviour common to all sequence classes.
$seq = Math::NumSeq::File->new (filename => $filename)
-
Create and return a new sequence object to read
$filename
.
SEE ALSO
HOME PAGE
http://user42.tuxfamily.org/math-numseq/index.html
LICENSE
Copyright 2011, 2012, 2013, 2014, 2016, 2019, 2020 Kevin Ryde
Math-NumSeq is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.
Math-NumSeq is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Math-NumSeq. If not, see <http://www.gnu.org/licenses/>.