in reply to Re^8: Use of inherited AUTOLOAD for non-method is no longer allowed with Perl 5.34.
in thread Use of inherited AUTOLOAD for non-method is no longer allowed with Perl 5.34.
I'm guessing your file "MRlib.pl" has a mapping from package name to file to require.
Use that package name list to generate and eval a set of *${packagename}::AUTOLOAD = \&FP::AUTOLOAD; statements.
That may have to be in a BEGIN block.
UPDATE: fixed ')' to '}'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^10: Use of inherited AUTOLOAD for non-method is no longer allowed with Perl 5.34.
by LanX (Saint) on Sep 29, 2021 at 18:18 UTC |