Or just use "abs".
Eh?
In reply to Re^3: Common Perl Idioms by adrianh in thread Common Perl Idioms by eric256