Subject: | "used only once" warnings on perl 5.26.1 |
There are many "used only once" warnings when I run code on perl 5.26.1
--
It is probably related to following note:
http://perl11.org/cperl/perl5260cdelta.html
Exporter
Exporter remained unchanged. But CORE support for the "used only once" warnings
has been to restricted to the four magic names "EXPORT", "EXPORT_OK", "EXPORT_FAIL"
and "EXPORT_TAGS". Other names starting with "EXPORT" will now throw
the "used only once" warning as all other symbols.
--
Raised warnings:
Name "Badger::Class::EXPORT_AFTER" used only once: possible typo at /perl/lib/site_perl/5.26.1/Badger/Exporter.pm line 458.
Name "Badger::Class::EXPORT_ALL" used only once: possible typo at /perl/lib/site_perl/5.26.1/Badger/Exporter.pm line 415.
Name "Badger::Class::EXPORT_BEFORE" used only once: possible typo at /perl/lib/site_perl/5.26.1/Badger/Exporter.pm line 449.
Name "Badger::Class::Methods::EXPORTABLES" used only once: possible typo at /perl/lib/site_perl/5.26.1/Badger/Exporter.pm line 381.
Name "Badger::Class::Methods::EXPORT_AFTER" used only once: possible typo at /perl/lib/site_perl/5.26.1/Badger/Exporter.pm line 458.
Name "Badger::Class::Methods::EXPORT_ALL" used only once: possible typo at /perl/lib/site_perl/5.26.1/Badger/Exporter.pm line 415.
Name "Badger::Class::Methods::EXPORT_ANY" used only once: possible typo at /perl/lib/site_perl/5.26.1/Badger/Exporter.pm line 406.
Name "Badger::Class::Methods::EXPORT_BEFORE" used only once: possible typo at /perl/lib/site_perl/5.26.1/Badger/Exporter.pm line 449.
Name "Badger::Constants::EXPORT_AFTER" used only once: possible typo at /perl/lib/site_perl/5.26.1/Badger/Exporter.pm line 458.
Name "Badger::Constants::EXPORT_ALL" used only once: possible typo at /perl/lib/site_perl/5.26.1/Badger/Exporter.pm line 415.
Name "Badger::Constants::EXPORT_BEFORE" used only once: possible typo at /perl/lib/site_perl/5.26.1/Badger/Exporter.pm line 449.
Name "Badger::Constants::EXPORT_HOOKS" used only once: possible typo at /perl/lib/site_perl/5.26.1/Badger/Exporter.pm line 433.
Name "Badger::Debug::EXPORT_AFTER" used only once: possible typo at /perl/lib/site_perl/5.26.1/Badger/Exporter.pm line 458.
Name "Badger::Debug::EXPORT_ALL" used only once: possible typo at /perl/lib/site_perl/5.26.1/Badger/Exporter.pm line 415.
Name "Badger::Debug::EXPORT_BEFORE" used only once: possible typo at /perl/lib/site_perl/5.26.1/Badger/Exporter.pm line 449.
Name "Badger::Exception::EXPORTABLES" used only once: possible typo at /perl/lib/site_perl/5.26.1/Badger/Exporter.pm line 381.
Name "Badger::Exception::EXPORT_AFTER" used only once: possible typo at /perl/lib/site_perl/5.26.1/Badger/Exporter.pm line 458.
Name "Badger::Exception::EXPORT_ALL" used only once: possible typo at /perl/lib/site_perl/5.26.1/Badger/Exporter.pm line 415.
Name "Badger::Exception::EXPORT_ANY" used only once: possible typo at /perl/lib/site_perl/5.26.1/Badger/Exporter.pm line 406.
Name "Badger::Exception::EXPORT_BEFORE" used only once: possible typo at /perl/lib/site_perl/5.26.1/Badger/Exporter.pm line 449.
Name "Badger::Rainbow::EXPORT_AFTER" used only once: possible typo at /perl/lib/site_perl/5.26.1/Badger/Exporter.pm line 458.
Name "Badger::Rainbow::EXPORT_ALL" used only once: possible typo at /perl/lib/site_perl/5.26.1/Badger/Exporter.pm line 415.
Name "Badger::Rainbow::EXPORT_BEFORE" used only once: possible typo at /perl/lib/site_perl/5.26.1/Badger/Exporter.pm line 449.
Name "Badger::Utils::EXPORT_AFTER" used only once: possible typo at /perl/lib/site_perl/5.26.1/Badger/Exporter.pm line 458.
Name "Badger::Utils::EXPORT_ALL" used only once: possible typo at /perl/lib/site_perl/5.26.1/Badger/Exporter.pm line 415.
Name "Badger::Utils::EXPORT_BEFORE" used only once: possible typo at /perl/lib/site_perl/5.26.1/Badger/Exporter.pm line 449.
Name "Badger::Utils::EXPORT_HOOKS" used only once: possible typo at /perl/lib/site_perl/5.26.1/Badger/Exporter.pm line 433.