next up previous contents
Next: Example: Single-Quoted Strings Up: Numeric and String Literals Previous: Example: Numbers

String Literals

String Literals are groups of characters surrounded by quotes so that they can be used as a single datum. They are frequently used in programs to identify filenames, display messages, and prompt for input. In Perl you can use single quotes ('), double quotes("), and back quotes (`).