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>
<http://www.dave.org.uk>
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In Section
Meditations