given/when and Smartmatch are depreciated in Perl 5.36 #8
Owner
```
root@s920:/usr/local/bin# dnsvi catalog.fritz.box
given is deprecated at /usr/share/perl5/DNS/Vi.pm line 51.
when is deprecated at /usr/share/perl5/DNS/Vi.pm line 52.
when is deprecated at /usr/share/perl5/DNS/Vi.pm line 53.
when is deprecated at /usr/share/perl5/DNS/Vi.pm line 54.
when is deprecated at /usr/share/perl5/DNS/Vi.pm line 55.
Smartmatch is deprecated at /usr/share/perl5/DNS/Vi.pm line 74.
given is deprecated at /usr/share/perl5/DNS/Vi.pm line 84.
when is deprecated at /usr/share/perl5/DNS/Vi.pm line 87.
when is deprecated at /usr/share/perl5/DNS/Vi.pm line 102.
Smartmatch is deprecated at /usr/share/perl5/DNS/Vi.pm line 180.
Smartmatch is deprecated at /usr/share/perl5/DNS/Vi.pm line 181.
given is deprecated at /usr/bin/dnsvi line 101.
when is deprecated at /usr/bin/dnsvi line 102.
when is deprecated at /usr/bin/dnsvi line 103.
when is deprecated at /usr/bin/dnsvi line 104.
when is deprecated at /usr/bin/dnsvi line 105.
when is deprecated at /usr/bin/dnsvi line 106.
when is deprecated at /usr/bin/dnsvi line 107.
when is deprecated at /usr/bin/dnsvi line 108.
when is deprecated at /usr/bin/dnsvi line 109.
nothing changed
root@s920:/usr/local/bin# cat /etc/debian_version
13.1
root@s920:/usr/local/bin# perl -v
This is perl 5, version 40, subversion 1 (v5.40.1) built for x86_64-linux-gnu-thread-multi
(with 48 registered patches, see perl -V for more detail)
Copyright 1987-2025, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at https://www.perl.org/, the Perl Home Page.
root@s920:/usr/local/bin#
```
Merge branch 'fix/8-smartmatch' (fixes #8)
chg: remove smartmatch given/when in more places (relates #8)
Merge branch 'master' into debian
Merge remote-tracking branch 'origin/master' into unicode-again
STYLE: Replace deprecated given/when with if/elsif
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?