NAME
Test::BrewBuild::BrewCommands - Provides Windows/Unix *brew command translations.
METHODS
new
Returns a new Test::BrewBuild::BrewCommands object.
brew
Returns 'perlbrew' if on Unix, and 'berrybrew' if on Windows.
installed($info)
Takes the output of '*brew available' in a string form. Returns the currently installed versions, formatted in a platform specific manner.
available($info)
Similar to installed()
, but returns all perls available.
install
Returns the current OS's specific *brew install command.
remove
Returns the current OS's specific *brew remove command.
version
Returns the platform specific perl version string.
is_win
Returns 0 if on Unix, and 1 if on Windows.
AUTHOR
Steve Bertrand, <steveb at cpan.org>
CONTRIBUTING
Any and all feedback and help is appreciated. A Pull Request is the preferred method of receiving changes (https://github.com/stevieb9/p5-test-brewbuild), but regular patches through the bug tracker, or even just email discussions are welcomed.
BUGS
https://github.com/stevieb9/p5-test-brewbuild/issues
LICENSE AND COPYRIGHT
Copyright 2016 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.