summaryrefslogtreecommitdiff
path: root/utf8.h
diff options
context:
space:
mode:
authorGraham Knop <haarg@haarg.org>2022-03-01 08:31:03 +0100
committerYves Orton <demerphq@gmail.com>2022-03-01 16:20:36 +0100
commitf0ef35deb0072805b68cef82ebe28739f67ca79a (patch)
treedae12b8e86de697f54752069dc7fe8fa6b11e8d9 /utf8.h
parent5fd455724334701f8b57422da66c641df3c87963 (diff)
downloadperl-f0ef35deb0072805b68cef82ebe28739f67ca79a.tar.gz
wrap any existing import in Attribute::Handlers' injected import
Some modules using Attribute::Handlers autotie feature have their own import method. When injecting an import method, attempt to wrap anything that exists, either in the class directly or in a parent class. We can't detect parent classes at injection time, because @ISA may change, and this is actually common since users of Exporter will add it as a parent class at module runtime, while Attribute::Handlers injection would happen first during compilation. A better approach could involve using next::can from mro, but that also requires Sub::Util::set_subname, and Attribute::Handlers is dual life and currently supports 5.6.
Diffstat (limited to 'utf8.h')
0 files changed, 0 insertions, 0 deletions