# 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
In reply to Re^2: Common Perl Idioms
by davorg
in thread Common Perl Idioms
by eric256
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |