This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
pv /
| name | age | message | |
|---|---|---|---|
| |
Changes | ||
| |
MANIFEST | ||
| |
Makefile.PL | ||
| |
PhysicalValue.pm | ||
| |
README | ||
| |
lib/ | ||
| |
t/ |
README
AUTHOR'S NOTE
I was unhappy with the unfinished Math::Calc::Units; but I was
happy with Math::Units. I felt that there should be a perl
module that handles units in a human readable way.
-Paul
SYNOPSIS
use Math::Units::PhysicalValue qw(PV);
my $exit = PV "10,000 ft";
my $open = "3500 ft";
my $delay = "43 s";
my $dist = $exit - $open;
my $rate = $dist / $delay;
my $weight = "180 lbs";
my $momentum = ($weight * ( ($exit - $open) / $delay )) + "0 kg*m/s";
print "$momentum\n"; # prints 3,761.82 kg*m/s
print ($rate + "0 miles/hour"), "\n" # prints 103.07 miles/hour








