Online Test Banks
Score higher
See Online Test Banks
Learning anything is easy
Browse Online Courses
Mobile Apps
Learning on the go
Explore Mobile Apps
Dummies Store
Shop for books and more
Start Shopping

Special Characters in Perl

Part of the 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
  • Add a Comment
  • Print
  • Share
blog comments powered by Disqus

Perl For Dummies Cheat Sheet


Inside Sweepstakes

Win $500. Easy.