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".