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


in reply to Re: Common Perl Idioms
in thread Common Perl Idioms

# Get the sign of a number
$a <=> 0

Or just use "abs".

Ignore me. I'm talking nonsense.

--
<http://www.dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg