dnsenum
dnsenum copied to clipboard
Use experimental module for smartmatch
The smartmatch feature has been introduced in perl but not marked as experimental at the start. With perl >= 5.18, the feature has been marked as experimental and as dnsenum use it:
[...]
if (!($rr->can('address') && $rr->address ~~ @wildcardaddress) && !($rr->name ~~ @wildcardcname))
[...]
the following warning appear at each execution:
Smartmatch is experimental at ./dnsenum.pl line 698.
I've proposed to conditionnaly load https://metacpan.org/pod/experimental module to avoid these warning.