Bot::BasicBot::Pluggable::Module::Convert - convert between units
Uses Math::Units to convert between various formats. You do
Math::Units
18:14 <muttley> convert 1 m into miles 18:14 <dipsy> 1 m is 0.000621371192237334 miles 18:14 <muttley> convert 1 min to seconds 18:14 <dipsy> 1 min is 60 seconds
and
18:14 <muttley> convert 1 gallon into cm^3 18:14 <dipsy> 1 gallon is 3785.411784 cm^3
and even
18:13 <muttley> convert 100 hz into rpm 18:13 <dipsy> 100 hz is 6000 rpm
Or can use Finance::Currency::Convert::XE to convert between currencies:
Finance::Currency::Convert::XE
15:30 <muttley> change 10 GBP to USD 15:30 <dipsy> 10 GBP is 18.91 USD
Which is cool.
convert <quantity> <unit> to <other unit> exchange <quantity> <currency> to <other currency>
Simon Wistow, <simon@thegestalt.org>
Copyright 2005, Simon Wistow
Distributed under the same terms as Perl itself.
To install Bot::BasicBot::Pluggable::Module::Funcs, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bot::BasicBot::Pluggable::Module::Funcs
CPAN shell
perl -MCPAN -e shell install Bot::BasicBot::Pluggable::Module::Funcs
For more information on module installation, please visit the detailed CPAN module installation guide.