NAME

Math::OEIS - some Online Encyclopedia of Integer Sequences things

SYNOPSIS

 use Math::OEIS;
 $filename = Math::OEIS->local_filename($basename);

FUNCTIONS

@dirs = Math::OEIS->local_directories()

Return a list of local OEIS directories to look for downloaded sequences and related files. Currently this is only ~/OEIS, ie. an OEIS sub-directory of the user's home directory (per File::HomeDir).

$filename = Math::OEIS->local_filename($basename)

Find file $basename in one of the local_directories() directories. If found then return a filename including directory part. If not found then return undef.

SEE ALSO

Math::OEIS::Names, Math::OEIS::Stripped, Math::OEIS::Grep

File::HomeDir

HOME PAGE

http://user42.tuxfamily.org/math-oeis/index.html

LICENSE

Copyright 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019 Kevin Ryde

Math-OEIS 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-OEIS 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-OEIS. If not, see http://www.gnu.org/licenses/.