summaryrefslogtreecommitdiffhomepage
path: root/perl.html.markdown
diff options
context:
space:
mode:
authorAhmad Fatoum <ahmad@a3f.at>2015-06-19 23:11:38 +0200
committerAhmad Fatoum <ahmad@a3f.at>2015-06-19 23:11:38 +0200
commite4931ee126a23a851c6a2ab474e84996e1b28f3e (patch)
tree5025c40062aabec01b8098a215fcc7c8a08a13e4 /perl.html.markdown
parent20656f063118e6c6df32b5e71bedf4dc6c4dbf9e (diff)
Fixed misinfo regarding sigils
also # is more commonly called number sign than number symbol.
Diffstat (limited to 'perl.html.markdown')
-rw-r--r--perl.html.markdown6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl.html.markdown b/perl.html.markdown
index 3c0699ad..4e172406 100644
--- a/perl.html.markdown
+++ b/perl.html.markdown
@@ -12,16 +12,16 @@ Perl 5 is a highly capable, feature-rich programming language with over 25 years
Perl 5 runs on over 100 platforms from portables to mainframes and is suitable for both rapid prototyping and large scale development projects.
```perl
-# Single line comments start with a number symbol.
+# Single line comments start with a number sign.
#### Perl variable types
-# Variables begin with the $ symbol.
+# Variables begin with a sigil, which is a symbol showing the type.
# A valid variable name starts with a letter or underscore,
# followed by any number of letters, numbers, or underscores.
-### Perl has three main variable types: scalars, arrays, and hashes.
+### Perl has three main variable types: $scalar, @array, and %hash.
## Scalars
# A scalar represents a single value: