summaryrefslogtreecommitdiff
path: root/dist/Attribute-Handlers
diff options
context:
space:
mode:
authorGraham Knop <haarg@haarg.org>2022-02-25 10:42:26 +0100
committerYves Orton <demerphq@gmail.com>2022-02-26 02:47:22 +0100
commit64f0d0d96084c25955864f7be0672b173a25fb1e (patch)
tree507db547f367f65b45ea880b1cc0f1eee12b7bcc /dist/Attribute-Handlers
parent90d32986170a76903fc0328ae6ac9e0ec4af40fc (diff)
downloadperl-64f0d0d96084c25955864f7be0672b173a25fb1e.tar.gz
fix typos in Attribute::Handlers __CALLER__ docs
Diffstat (limited to 'dist/Attribute-Handlers')
-rw-r--r--dist/Attribute-Handlers/lib/Attribute/Handlers.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/dist/Attribute-Handlers/lib/Attribute/Handlers.pm b/dist/Attribute-Handlers/lib/Attribute/Handlers.pm
index 6df8a02a66..6de6ae987c 100644
--- a/dist/Attribute-Handlers/lib/Attribute/Handlers.pm
+++ b/dist/Attribute-Handlers/lib/Attribute/Handlers.pm
@@ -687,13 +687,13 @@ and need to export their attributes to any module that calls them. To
facilitate this, Attribute::Handlers recognizes a special "pseudo-class" --
C<__CALLER__>, which may be specified as the qualifier of an attribute:
- package Tie::Me::Kangaroo:Down::Sport;
+ package Tie::Me::Kangaroo::Down::Sport;
use Attribute::Handlers autotie =>
{ '__CALLER__::Roo' => __PACKAGE__ };
This causes Attribute::Handlers to define the C<Roo> attribute in the package
-that imports the Tie::Me::Kangaroo:Down::Sport module.
+that imports the Tie::Me::Kangaroo::Down::Sport module.
Note that it is important to quote the __CALLER__::Roo identifier because
a bug in perl 5.8 will refuse to parse it and cause an unknown error.