30 Jan 2021 19:55:04 UTC
- Distribution: Class-Measure
- Module version: 0.09
- Source (raw)
- Browse (raw)
- How to Contribute
- Repository (git clone)
- Issues (0)
- Testers (1106 / 0 / 0)
- KwaliteeBus factor: 1
- 88.65% Coverage
- License: perl_5
- Perl: v5.8.1
- Activity24 month
- Download (14KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
Class::Measure::Length - Calculate measurements of length.
use Class::Measure::Length; print length( 2, 'km' )->meters();
This module inherits all the methods made available by Class::Measure.
$m = length( 2, 'metres' );
Creates a new measurement object.
Also known as SI and "metric", this unit of measure includes the following.
kilometre metre centimetre millimetre decimetre micrometre nanometre
And all veriations are aliased, such as "m", "meter", "meters", "metres".
These units are shared by with the US and Imperial unit systems.
inch foot yard rod mile chain furlong
All relevant aliases included.
Units specific to the United States.
survey_mile link fathom cable_length
Imperial (english) units. The only unit included in this set is "league".
Module Install Instructions
To install Class::Measure, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Class::Measure
For more information on module installation, please visit the detailed CPAN module installation guide.