Special Characters in Perl

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:







































CharacterMeaning
\nNewline
\rCarriage return
\tTab character
\fFormfeed character
\bBackspace character
\vVertical tab
\aBell or beep
\eEscape character








dummies

Source:http://www.dummies.com/how-to/content/special-characters-in-perl.html

No comments:

Post a Comment