In Perl, the operators determine the type of their arguments. The numeric operators treat strings as numbers, and things that don't look like a number get treated as zero.
This explains all your four cases.
In reply to Re: Something interesting i found today
by Corion
in thread Something interesting i found today
by perlaintdead
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |