Finance::CoinbasePro::API::CLI::Value
sub subtract { my ($self, $v) = @_; die "$0: can't subtract $self->{currency} and $v->{currency}\n" unless ($self->currency eq $v->currency); $self->num( $self->num - $v->num ); }
Finance::CoinbasePro::API::CLI::Util::CurrencyUtil
Mouse
add();
subtract();
to_str();
to_str_with_usd();
To install Finance::CoinbasePro::API::CLI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Finance::CoinbasePro::API::CLI
CPAN shell
perl -MCPAN -e shell install Finance::CoinbasePro::API::CLI
For more information on module installation, please visit the detailed CPAN module installation guide.