http://qs321.pair.com?node_id=11119176


in reply to Perl::Critic says don't modify $_ in list functions and other things

My OS is Debian 10 (Buster); my perl versions are 5.28.1 local and 5.8.8 on web host.

Are you sure your web host doesn't offer newer versions? For example, I was once on a web host that offered multiple Perl versions, and you'd have to point the shebang at the right one, e.g. #!/usr/bin/perl5.28.