Build::Hopen::AppUtil - utility routines used by Build::Hopen::App
# }}}1
Find the hopen files applicable to the given build directory. Returns a list of hopen files, if any, to process for the given directory. Hopen files match *.hopen.pl or .hopen.pl. Usage: Also locates context files. For example, when processing ~/foo/.hopen, Check will also find ~/foo.hopen if it exists.
*.hopen.pl
.hopen.pl
~/foo/.hopen
~/foo.hopen
my $files_array = find_hopen_files( [$proj_dir[, $dest_dir[, $ignore_MY_hopen]]])
If no $proj_dir is given, the current directory is used.
$proj_dir
If $ignore_MY_hopen is truthy, $dest_dir will not be checked for a MY.hopen.pl file.
$ignore_MY_hopen
$dest_dir
MY.hopen.pl
The returned files should be processed in left-to-right order.
The return array will include a context file if any is present. For $dir eq '/foo/bar', for example, /foo/bar.hopen.pl is the name of the context file.
$dir eq '/foo/bar'
/foo/bar.hopen.pl
Find a MY.hopen.pl file, if any. Returns undef if none is present.
To install Build::Hopen, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Build::Hopen
CPAN shell
perl -MCPAN -e shell install Build::Hopen
For more information on module installation, please visit the detailed CPAN module installation guide.