From 65ccfa04daba6cdbcc803bcc65217252ac2d57d5 Mon Sep 17 00:00:00 2001 From: Joel Murphy Date: Sun, 11 Feb 2024 22:14:01 +0000 Subject: [PATCH 1/3] Changed "he's" to "they're" in lesson 6 Just to be a little more inclusive to readers :) --- lessons/lesson6.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lessons/lesson6.pm b/lessons/lesson6.pm index 7225418..9e987ac 100644 --- a/lessons/lesson6.pm +++ b/lessons/lesson6.pm @@ -19,7 +19,7 @@ __DATA__

Hello sigil

One thing that you have to know about Perl is that variables are prefixed by special a character.
-You should see it as a good thing, because it allows variable interpolation into strings and helps programmer to know with what kind of data he's dealing with...

+You should see it as a good thing, because it allows variable interpolation into strings and helps the programmer know what kind of data they're dealing with...

The most common/simple variable is the scalar value and it's prefixed by a stricken through S.

Perl users call it sigil but normal people call it dollar.
Here is the famous symbol : $

From 1411bba664fcd143d7dd9beecd3adb10090e4343 Mon Sep 17 00:00:00 2001 From: Joel Murphy Date: Sun, 11 Feb 2024 22:25:30 +0000 Subject: [PATCH 2/3] Update lesson6.pm --- lessons/lesson6.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lessons/lesson6.pm b/lessons/lesson6.pm index 9e987ac..08959e8 100644 --- a/lessons/lesson6.pm +++ b/lessons/lesson6.pm @@ -19,7 +19,7 @@ __DATA__

Hello sigil

One thing that you have to know about Perl is that variables are prefixed by special a character.
-You should see it as a good thing, because it allows variable interpolation into strings and helps the programmer know what kind of data they're dealing with...

+You should see it as a good thing, because it allows variable interpolation into strings and helps the programmer to know what kind of data they're dealing with...

The most common/simple variable is the scalar value and it's prefixed by a stricken through S.

Perl users call it sigil but normal people call it dollar.
Here is the famous symbol : $

From eeaa127c2ee19487522ed5d8b4115a119604dfeb Mon Sep 17 00:00:00 2001 From: Joel Murphy Date: Sun, 11 Feb 2024 22:30:03 +0000 Subject: [PATCH 3/3] Fix some typos --- lessons/lesson6.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lessons/lesson6.pm b/lessons/lesson6.pm index 08959e8..bb2f1b1 100644 --- a/lessons/lesson6.pm +++ b/lessons/lesson6.pm @@ -18,13 +18,13 @@ __DATA__

Hello sigil

-One thing that you have to know about Perl is that variables are prefixed by special a character.
+One thing that you have to know about Perl is that variables are prefixed by a special character.
You should see it as a good thing, because it allows variable interpolation into strings and helps the programmer to know what kind of data they're dealing with...

The most common/simple variable is the scalar value and it's prefixed by a stricken through S.

Perl users call it sigil but normal people call it dollar.
Here is the famous symbol : $

-As we don't even talked about what could contain a scalar variable, let's declare an undefined variable !

+As we haven't even talked about what could contain a scalar variable, let's declare an undefined variable !

Declare your first variable like this : $u = undef