Test::BrewBuild::Regex - Various regexes for the Test::BrewBuild platform
use Test::BrewBuild::Regex; my $results = ...; my $re = re_brewbuild('extract_perl_version'); if ($results =~ /$re/){ ... } # or, use the call inline with the deref trick if ($results =~ /${ re_brewbuild('extract_perl_version') }/){ ... }
Single location for all regexes used throughout Test::BrewBuild.
All functions are exported by default.
Provides regexes for the Test::BrewBuild library.
Available regexes are:
check_failed check_result extract_dist_name extract_dist_version extract_errors extract_error_perl_ver extract_result extract_perl_version
Provides regexes for the Test::BrewBuild::BrewCommands library.
available_berrybrew available_perlbrew installed_berrybrew installed_perlbrew using_berrybrew
Provides regexes for the Test::BrewBuild::Dispatch library.
extract_short_results
Provides regexes for the Test::BrewBuild::Git library.
extract_repo_name extract_commit_csum
Steve Bertrand, <steveb at cpan.org>
<steveb at cpan.org>
Copyright 2017 Steve Bertrand.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Test::BrewBuild, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::BrewBuild
CPAN shell
perl -MCPAN -e shell install Test::BrewBuild
For more information on module installation, please visit the detailed CPAN module installation guide.