The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Class::Measure::Length - Calculate measurements of length.

SYNOPSIS

DESCRIPTION

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

AUTHOR

Aran Clary Deltac <bluefeet@cpan.org>

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.