Class:...Length(3pm)

πŸ“¦
version 0.10 Β· 6 versions
, in debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

Class::Measure::Length β€” bestie, it literally calculates measurements of length. That's the whole job. It's giving ruler energy. πŸ“βœ¨

(also, hi, you found the page for Class:...Length(3pm) β€” yes the header is truncated like that, that's just how the file is named, we move.)


✨ SYNOPSIS ✨

use Class::Measure::Length;

print length( 2, 'km' )->meters();

like. two lines. you're already slaying. πŸ’…


πŸŽ€ METHODS πŸŽ€

okay so this module inherits all the methods made available by Class::Measure. it doesn't reinvent the wheel, it just shows up wearing the wheel as a cute accessory. 🫢

🌸 length

$m = length( 2, 'metres' );

creates a new measurement object. that's it, that's the whole method. new measurement, brand new object, main character energy. πŸ‘‘


πŸ¦‹ UNITS πŸ¦‹

πŸ’œ International System of Units

also known as SI and "metric" (iykyk). this unit of measure includes the following:

  • kilometre
  • metre
  • centimetre
  • millimetre
  • decimetre
  • micrometre
  • nanometre

and all veriations are aliased β€” so like, "m", "meter", "meters", "metres", all of them. the aliases are aliasing. periodt. ✨

🌈 Shared

these units are shared by with the US and Imperial unit systems (yes, shared custody):

  • inch
  • foot
  • yard
  • rod
  • mile
  • chain
  • furlong

all relevant aliases included. no unit left behind. 🫢

πŸ“ United Stats

units specific to the United States. (yes, the heading says "Stats". we did not choose this. we simply report it. πŸ’€)

  • survey_mile
  • link
  • fathom
  • cable_length

aliases included, obviously. πŸ’…

πŸ‘‘ Imperial

Imperial (english) units. the only unit included in this set is "league". one single solitary league. it's giving exclusive. it's giving VIP section. πŸŽ€

⭐ Other

  • light_second
  • nautical_mile

the miscellaneous girlies. we love them. 🌸


🫢 SUPPORT 🫢

see "SUPPORT" in Class::Measure.


πŸ’– AUTHORS πŸ’–

see "AUTHORS" in Class::Measure.


🌸 LICENSE 🌸

see "LICENSE" in Class::Measure.


and that's the page, bestie!! πŸ¦‹ this gem is documented for perl v5.36.0 and dated 2023-10-01, straight outta the User Contributed Perl Documentation crew. go measure something. go be iconic. no cap. πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from