Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/timj/perl-file-searchpath
Perl CPAN File::SearchPath module
https://github.com/timj/perl-file-searchpath
Last synced: 13 days ago
JSON representation
Perl CPAN File::SearchPath module
- Host: GitHub
- URL: https://github.com/timj/perl-file-searchpath
- Owner: timj
- Created: 2009-08-08T00:53:52.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2015-01-26T16:51:15.000Z (almost 10 years ago)
- Last Synced: 2024-11-13T04:52:36.959Z (2 months ago)
- Language: Perl
- Homepage:
- Size: 159 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
- Changelog: ChangeLog
Awesome Lists containing this project
README
File::SearchPath - Search for a file in a PATH-like environment variable
This module can be used to search for files (which do not have to be
executable) in a set of directories specified in a PATH-like
environment variable such as $PATH, $LD_LIBRARY_PATH (or any
environment variable).INSTALLATION
% perl Makefile.PL
% make
% make test
% make installREQUIREMENTS
Should work on any perl. Can use the Env::Path module if it is
present, else colon-separated path variables are assumed.SEE ALSO
File::Which, File::Where.
AUTHOR
Tim Jenness [email protected]
Copyright 2005,2006,2008 Particle Physics and Astronomy Research Council.
Copyright (C) 2009-2010 Science and Technology Facilities Council.
Copyright (C) 2015 Tim Jenness
All Rights Reserved.This program 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 2 of the License, or (at your option) any later
version.This program 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
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
Place,Suite 330, Boston, MA 02111-1307, USACHANGES
v0.06 RT #85529 fixed by Jonathon Scott Duff
Minor documentation clean up by Jonathan Scott Duffv0.06 Fix path separator problem on VMS (thanks to Peter Edwards)
Use Module::Buildv0.05 Fix test for CPAN testers.
v0.03 Fix volume handling (thanks to David Golden).
v0.02 + Add compatibility with Robert Spier's File::SearchPath
module (that was no longer on CPAN)
+ If an absolute filename is given, test it and return
it if it passes those tests (else return undef)
+ Document returning of undef if no files are found.V0.001 First version.