Documentation
the lib-locating BEGIN block in every test
the lib-locating BEGIN block in every test
report etc/app.conf symlinks that point to nothing
collect etc dirs from both the physical and logical trees
collect lib dirs from both the physical and logical trees
locate the nearest etc/app.conf
prepend blib/arch/auto dirs to LD_LIBRARY_PATH
find the nearest etc/myconfig dir walking up from the script
locate the nearest etc/<program name>.conf
locate the project root from the nearest .git/config
leave directories out of the search with ignore=
build a layered @etc: local overrides first, defaults appended
list all etc dirs found walking up from the script
merge every etc/app.conf, nearer files override
locate the first etc dir holding LocalPaths.conf
run a program with PERL5LIB set from the lib dirs above p5run
tell a sub-project from a main project by its .git dirs
use <program name>.conf from the nearest etc dir
show $Bin_l and $Bin_p through directory and file symlinks
locate t/etc/tests.yaml from outside of t/
lib dirs a test gets from "use FindBin::libs"
the lib-locating BEGIN block in every test
dir_paths handling of $assume_dir
dir_paths path validation and the root walk
$Bin_l and $Bin_p when $0 is a path under /dev/
pwd() after a builtin chdir leaves $PWD stale
pwd() after Cwd::chdir keeps $PWD valid
pwd() dies when the working directory is removed
verify FindBin::libs nofail import option
verify FindBin::libs ignore= import option
verify FindBin::libs abspath/noabspath walk-root selection
scalar requires export; noscalar is ignored
the default ignore list skips /lib and /usr/lib
generic unit test for perl modules.
Modules
locate and a 'use lib' or export directories based on $FindBin::Bin.
locate and a 'use lib' or export directories based on $FindBin::Bin.
Absolute path to the executable's directory, with two normalization strategies for paths containing .. segments.
locate files relative to the executable's parent directories
List the parent directories of a path, from the path to root.
locate directories above the program and "use lib" or export them.
stable version of code for older perl installations.
Provides
in version/v5.40/t/lib/FindBin/Testy.pm