Unary Operator

From GM-RKB
Jump to navigation Jump to search

See: Computer Program Operator, Unary Operation.



References

1996

  • (Wall et al., 1996) ⇒ Larry Wall, Tom Christiansen, and Randal L. Schwartz. (1996). “Programming Perl, 2nd edition." O'Reilly. ISBN:1565921496
    • unary operator: An operator with only one operand, like ! or chdir. Unary operators are usually prefix operators, that is, they precede their operand. The ++ and -- operators can be either prefix or postfix. (Of course, that does change their meaning.)