I can't easily read that because you can't be bothered to use code tags around your code. However you might look up the difference between cmp and <=>.
In reply to Re^3: random #s
by GrandFather
in thread random #s
by cboPerl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |