POSIX (isprint) 已被删除;该怎么办?

POSIX (isprint) has been deleted; what to do?

一个 Perl 模块使用

use POSIX qw(isprint);

已从 Perl 的 POSIX 中删除。

有解决办法吗?

documentation 状态:

isprint

This function has been removed as of v5.24. It was very similar to matching against qr/ ^ [[:print:]]+ $ /x, which you should convert to use instead. (...)

(强调:我)

所以我想这很可能回答了你的问题。