in reply to Re^3: I would have expected a syntax error here
in thread Solved! I would have expected a syntax error here

Nice ...

... but I think it should allow to add new as exception. (couldn't find it)

There is far too much legacy code using an indirect new as constructor.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

  • Comment on Re^4: I would have expected a syntax error here

Replies are listed 'Best First'.
Re^5: I would have expected a syntax error here
by Corion (Patriarch) on Oct 19, 2018 at 18:37 UTC

    You don't need to make it fatal and you also don't need to enable it globally.

    If it is for your own code, you can slowly fix that code, eliminating those warnings.