http://qs321.pair.com?node_id=311

abs

See the current Perl documentation for abs.

Here is our local, out-dated (pre-5.6) version:


abs - absolute value function



abs VALUE

abs



Returns the absolute value of its argument. If VALUE is omitted, uses $_.