To do the latter without a comparison operator, check equality to "0", or test if it starts with a "-" character, for example with a regexp, or with substr.
In reply to Re: Compare two signed integers without using comparision operator in perl
by bart
in thread Compare two signed integers without using comparision operator in perl
by Das
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |