Jump to content

Digraph (computing)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 92.232.150.252 (talk) at 10:10, 9 November 2008 (Arithmetic Combination Assignment Operators). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Digraphs are two-character sequences used to enter single conceptual characters that cannot be entered from the computer keyboard for various reasons: obsolete keyboard, input of special characters is required, the text editor reserves some characters for special use, etc. Digraphs can also be used to extend the keyboard.

Different systems have different sets of defined digraphs.

Digraph Operators in Perl

Digraph Operators are operators that are represented by two symbols. Perl uses the following digraphs:

Shift Operators

<< doubleopenbeak >> doubleclosedbeak

Nudge Operators

++ plusplus -- doubledash

Arithmetic Combination Assignment Operators

+= addition -= subtraction

  • = multiplication

/= division %= modulus

String Manipulation Combination Assignment Operators

x= repetition .= concatenation

Bitwise Combination Assignment Operators

|= BWOR &= BWAND ^= BWXOR

See also