Perl supports the same operators as C, including:
| Arithmetic | +, -, *. /, % | |
| Assignment | =, +=, -=, *=, /2 | |
| String concatenation | . | |
| Relational (numbers) | ==, !=, >, >=, <, <= | |
| Relational (strings) | Eq, ne, gt, ge, lt, le |
Back to top Home Serious Stuff
© 2001. Copyright Sue Nethercott.