Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
grammar
  • Loading branch information
moritz committed Feb 25, 2011
1 parent 8687494 commit 69789ed
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/basics.pod
Expand Up @@ -154,7 +154,7 @@ an C<Array>. Arrays store ordered lists.
=begin sidebar

Splitting on a single blank is not very robust, and breaks the code when
spaces at the end of a line, or more than one blank in a row, or even an empty
spaces are at the end of a line, or more than one blank in a row, or even an empty
line in the input file. You will learn a more robust method for data
extraction in the chapter about regexes.

Expand Down Expand Up @@ -432,7 +432,8 @@ newline at the end.)
X<interpolation>

When you run the program, you'll see that C<say> doesn't print the contents of
that string verbatim. In place of C<$n> it prints the contents of C<$n>-- the
that string verbatim. In place of C<$n> it prints the contents of the
variable C<$n>-- the
names of players stored in C<$n>. This automatic substitution of code with its
contents is I<interpolation>. This interpolation happens only in strings
delimited by double quotes C<"...">. Single quoted strings C<'...'> do
Expand Down

0 comments on commit 69789ed

Please sign in to comment.