Bug#710110: perldelta: incorrect instructions about disabling smartmatch warnings

Jakub Wilk jwilk at debian.org
Tue May 28 11:02:20 UTC 2013


Package: perl-doc
Version: 5.18.0-1
Severity: minor

perldelta says you should add this line to disable warnings about 
smartmatch:

no if $] >= 5.018, "experimental::smartmatch";

However, the above line doesn't work. You should use this line instead:

no if $] >= 5.018, 'warnings', "experimental::smartmatch";

-- 
Jakub Wilk




More information about the Perl-maintainers mailing list