Subject: | Subroutines::ProhibitCallsToUndeclaredSubs - please consider Sub::Exporter style { -as => alias } syntax |
Sub::Exporter based exporters support this syntax:
use Foo exported_symbol => {
...
-as => "alias"
};
It would be nice if this policy detected such declarations appropriately, instead of erroneosuly thinking the symbol imported was "exported_symbol", while ignoring the validity of "alias"
Example: https://metacpan.org/pod/String::Formatter#SYNOPSIS