s***k 发帖数: 23 | 1 【 以下文字转载自 Programming 讨论区,原文如下 】
发信人: stock (Microsoft is dead), 信区: Programming
标 题: Perl for programmers(6): characters in string
发信站: The unknown SPACE (Tue May 23 11:14:19 2000) WWW-POST
double-quoted "...", single quoted '...' and if there is no
other interpretation, a word can be treated as quoted string
called barewords
special character in double quoted string
Code Meaning
\n newline
\r carriage return
\t Horizontal tab
\f Formfeed
\b backspace
\a alert(bell)
\e ES |
|