$x
, $y
, $z
, $username
, and $url
are all examples of scalar variable names. It is not necessary to declare a variable before using it. A scalar can hold data of any type, be it a string, a number, or whatever.
Some Double-Quoted String Representation | |||||||
---|---|---|---|---|---|---|---|
Construct | Meaning | Construct | Meaning | Construct | Meaning | ||
\n |
Newline | \r |
Return | \t |
Tab | ||
\f |
Formfeed | \b |
Backspace | \a |
Bell | ||
\e |
Escape | \\ |
Backslash | \" |
Double quote | ||
\007 |
Any octal ASCII value | \x7f |
Any hex ASCII value | \cC |
Any “control” character |