Bio::Gonzales::Util::Development::File - Helper functions for all filesystem related tasks
use Bio::Gonzales::Util::Development::File qw/find_root/; # find git root dir my $root = find_root({location => '.', dirs => [ '.git ]});
Starts at $location and stops if the current or parent dir contains all of the directories specified by @dirs and all of the files specified by @files. Returns the dir where stopped or nothing/undef if not successful
$location
@dirs
@files
-
jw bargsten, <joachim.bargsten at wur.nl>
<joachim.bargsten at wur.nl>
To install Bio::Gonzales, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bio::Gonzales
CPAN shell
perl -MCPAN -e shell install Bio::Gonzales
For more information on module installation, please visit the detailed CPAN module installation guide.