in reply to RE: Switch off warning for UNIVERSAL::AUTOLOAD
in thread Switch off warning for UNIVERSAL::AUTOLOAD
However, the UNIVERSAL::AUTOLOAD method provides a functionality (to catch all missing routintes in one place) that I need and that Perl has decided to drop in the future. So, while it is still there, I want to use it and Perl wants to warn me that in future the code might break. I read the warning and want to suppress it now. Still other warnings should be displayed and fixed in the code.
As it stands, every piece of code that calls a function could trigger UNIVERSAL::AUTOLOAD and thus be "offending".
Maybe there is a way to keep the UNIVERSAL::AUTOLOAD feature in Perl ...
|
|---|