1Class::Measure::Length(U3spemr)Contributed Perl DocumentCaltaisosn::Measure::Length(3pm)
2
3
4
6 Class::Measure::Length - Calculate measurements of length.
7
9 use Class::Measure::Length;
10
11 print length( 2, 'km' )->meters();
12
14 This module inherits all the methods made available by Class::Measure.
15
16 length
17 $m = length( 2, 'metres' );
18
19 Creates a new measurement object.
20
22 International System of Units
23 Also known as SI and "metric", this unit of measure includes the
24 following.
25
26 kilometre
27 metre
28 centimetre
29 millimetre
30 decimetre
31 micrometre
32 nanometre
33
34 And all veriations are aliased, such as "m", "meter", "meters",
35 "metres".
36
37 Shared
38 These units are shared by with the US and Imperial unit systems.
39
40 inch
41 foot
42 yard
43 rod
44 mile
45 chain
46 furlong
47
48 All relevant aliases included.
49
50 United Stats
51 Units specific to the United States.
52
53 survey_mile
54 link
55 fathom
56 cable_length
57
58 Aliases included.
59
60 Imperial
61 Imperial (english) units. The only unit included in this set is
62 "league".
63
64 Other
65 light_second
66 nautical_mile
67
69 See "SUPPORT" in Class::Measure.
70
72 See "AUTHORS" in Class::Measure.
73
75 See "LICENSE" in Class::Measure.
76
77
78
79perl v5.32.1 2021-02-01 Class::Measure::Length(3pm)