That is just NONSENSE!
1) The space-ship operator, <=>, is a numeric comparison.
2) eq is an alpha-numeric comparison.
There are very good reasons for using <=> or eq in conjunction with an if statement! DUH!!
In reply to Re: How to make code smaller--saving steps and writing one liners
by Marshall
in thread How to make code smaller--saving steps and writing one liners
by Petras
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |