Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

copy correction #67

Merged
merged 2 commits into from

2 participants

@gdonald

No description provided.

@jest jest merged commit df437ee into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 18, 2012
  1. @gdonald

    copy correction

    gdonald authored
  2. @gdonald

    less words, more clear

    gdonald authored
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/basics.pod
View
6 src/basics.pod
@@ -101,7 +101,7 @@ curly braces { }.
X<sigil>
X<identifier>
-A variable name begins with a I<sigil>, which is non-alpha-numeric
+A variable name begins with a I<sigil>, which is a non-alpha-numeric
symbol such as C<$>, C<@>, C<%>, or C<&>--or occasionally the double
colon C<::>. Sigils indicate the structural interface for the variable,
such as whether it should be treated as a single value, a compound value,
@@ -166,8 +166,8 @@ an C<Array>. Arrays store ordered lists.
X<hash>
These two lines of code declare two hashes. The C<%> sigil marks each
-variable as a C<Hash>. A C<Hash> is an unordered collection of pairs of
-keys and values. Other programming languages call that a I<hash table>,
+variable as a C<Hash>. A C<Hash> is an unordered collection of key/value
+pairs. Other programming languages call that a I<hash table>,
I<dictionary>, or I<map>. You can query a hash table for the value that
corresponds to a certain C<$key> with C<%hash{$key}>N<Unlike Perl 5, in
Perl 6 the sigil does not change when accessing an array or hash with
Something went wrong with that request. Please try again.