- 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>>>

14.3 ESCAPE SEQUENCES

These work as in normal strings.

\a	           Alarm (beep)
\e	           Escape
\f	           Formfeed
\n	           Newline
\r	           Carriage return
\t	           Tab
\037	         Any octal ASCII value
\x7f	         Any hexadecimal ASCII value
\x{263a}      A wide hexadecimal value
\cx	          Control-x
\N{name}      A named character
\N{U+263D}    A Unicode character by hex ordinal
\l            Lowercase next character
\u            Titlecase next character
\L            Lowercase until \E
\U            Uppercase until \E
\Q            Disable pattern metacharacters until \E
\E            End modification

For Titlecase, see 14.10.1.

This one works differently from normal strings:

\b            An assertion, not backspace, except in a character class
ISBN 9781906966027Perl Language Reference ManualSee the print edition