MOSES::MOBY::Utils - what does not fit elsewhere
# find a file located somewhere in @INC use MOSES::MOBY::Generators::Utils; my $file = MOSES::MOBY::Generators::Utils->find_file ('resource.file');
General purpose utilities.
Martin Senger (martin.senger [at] gmail [dot] com) Edward Kawas (edward.kawas [at] gmail [dot] com)
Try to locate a file whose name is created from the $default_start and all elements of @names. If it does not exist, try to replace the $default_start by elements of @INC (one by one). If neither of them points to an existing file, go back and return the $default_start and all elements of @names (even - as we know now - such file does not exist).
$default_start
@names
There are two or more arguments: $default_start and @names.
To install MOSES::MOBY, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MOSES::MOBY
CPAN shell
perl -MCPAN -e shell install MOSES::MOBY
For more information on module installation, please visit the detailed CPAN module installation guide.