- publishing free software manuals
Perl Language Reference Manual
by Larry Wall and others
Paperback (6"x9"), 724 pages
ISBN 9781906966027
RRP £29.95 ($39.95)

Sales of this book support The Perl Foundation! Get a printed copy>>>

12.3.1 Fixed characters

A handful of characters have a dedicated character escape. The following table shows them, along with their ASCII code points (in decimal and hex), their ASCII name, the control escape (see below) and a short description.

Seq.  Code Point  ASCII   Cntr    Description.
      Dec    Hex
 \a     7     07    BEL    \cG    alarm or bell
 \b     8     08     BS    \cH    backspace [1]
 \e    27     1B    ESC    \c[    escape character
 \f    12     0C     FF    \cL    form feed
 \n    10     0A     LF    \cJ    line feed [2]
 \r    13     0D     CR    \cM    carriage return
 \t     9     09    TAB    \cI    tab
  1. \b is only the backspace character inside a character class. Outside a character class, \b is a word/non-word boundary.
  2. \n matches a logical newline. Perl will convert between \n and your OSses native newline character when reading from or writing to text files.
ISBN 9781906966027Perl Language Reference ManualSee the print edition