Learn more with dummies

Enter your email to join our mailing list for FREE content right to your inbox. Easy!

By Paul Hoffman

Part of Perl For Dummies Cheat Sheet

Like any programming language, Perl uses special commands for special characters, such as backspaces or vertical tabs. So, if you need to program in a bell or a beep or just a carriage return, check the following table for the character that will produce it:

Character Meaning
n Newline
r Carriage return
t Tab character
f Formfeed character
b Backspace character
v Vertical tab
a Bell or beep
e Escape character