Class::Measure::Length(3pm) | User Contributed Perl Documentation | Class::Measure::Length(3pm) |
NAME¶
Class::Measure::Length - Calculate measurements of length.
SYNOPSIS¶
use Class::Measure::Length; print length( 2, 'km' )->meters();
METHODS¶
This module inherits all the methods made available by Class::Measure.
length¶
$m = length( 2, 'metres' );
Creates a new measurement object.
UNITS¶
International System of Units¶
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".
Shared¶
These units are shared by with the US and Imperial unit systems.
inch foot yard rod mile chain furlong
All relevant aliases included.
United Stats¶
Units specific to the United States.
survey_mile link fathom cable_length
Aliases included.
Imperial¶
Imperial (english) units. The only unit included in this set is "league".
Other¶
light_second nautical_mile
SUPPORT¶
See "SUPPORT" in Class::Measure.
AUTHORS¶
See "AUTHORS" in Class::Measure.
LICENSE¶
See "LICENSE" in Class::Measure.
2023-10-01 | perl v5.36.0 |