From 9f63b87c35e660d6c7f7cbfee0dc5593725c5445 Mon Sep 17 00:00:00 2001 From: Ricardo Signes Date: Sun, 9 Jun 2024 21:18:15 -0400 Subject: [PATCH] Tutorial: typo fix originally reported by @kyzn; thanks! --- Changes | 1 + lib/Sub/Exporter/Tutorial.pod | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Changes b/Changes index 90773d8..38bddb1 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,7 @@ Revision history for Sub-Exporter {{$NEXT}} + - docs: fix typo in tutorial (thanks, Kıvanç Yazan!) 0.991 2023-11-23 20:32:17-05:00 America/New_York - make the requirement for perl v5.12.0 explicit; previously, it was diff --git a/lib/Sub/Exporter/Tutorial.pod b/lib/Sub/Exporter/Tutorial.pod index 307e173..96ce998 100644 --- a/lib/Sub/Exporter/Tutorial.pod +++ b/lib/Sub/Exporter/Tutorial.pod @@ -229,7 +229,7 @@ module was used like this: ...the consumer would get a salad. Also, all the generators would be passed, as their fourth argument, something like this: - { allerges => [ qw(peanuts) ], ethics => [ qw(vegan) ] } + { allergies => [ qw(peanuts) ], ethics => [ qw(vegan) ] } Generators may have arguments in their definition, as well. These must be code refs that perform validation of the collected values. They are passed the