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.
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Common Perl Idioms
by adrianh (Chancellor) on Jul 25, 2004 at 23:18 UTC |