我在使用 Perl 时经常遇到的一个问题是:我想找出哪个版本已经引入了一些功能。
有几页“perldelta”手册页(每个版本一个),但我正在寻找一种查询这些手册页的有效方法。不幸的是,SUSE 的最新发行版似乎只提供了当前的“perldelta”手册页(似乎如此)。
> man -k perldelta
perldelta (1) - what is new for perl v5.26.1
事实上,已经运送了很多页面:
> rpm -ql perl-doc |grep delta
...
usr/share/man/man1/perl5004delta.1.gz
/usr/share/man/man1/perl5005delta.1.gz
/usr/share/man/man1/perl5100delta.1.gz
/usr/share/man/man1/perl5101delta.1.gz
/usr/share/man/man1/perl5120delta.1.gz
/usr/share/man/man1/perl5121delta.1.gz
/usr/share/man/man1/perl5122delta.1.gz
/usr/share/man/man1/perl5123delta.1.gz
/usr/share/man/man1/perl5124delta.1.gz
/usr/share/man/man1/perl5125delta.1.gz
/usr/share/man/man1/perl5140delta.1.gz
/usr/share/man/man1/perl5141delta.1.gz
/usr/share/man/man1/perl5142delta.1.gz
/usr/share/man/man1/perl5143delta.1.gz
/usr/share/man/man1/perl5144delta.1.gz
/usr/share/man/man1/perl5160delta.1.gz
/usr/share/man/man1/perl5161delta.1.gz
/usr/share/man/man1/perl5162delta.1.gz
/usr/share/man/man1/perl5163delta.1.gz
/usr/share/man/man1/perl5180delta.1.gz
/usr/share/man/man1/perl5181delta.1.gz
/usr/share/man/man1/perl5182delta.1.gz
/usr/share/man/man1/perl5184delta.1.gz
/usr/share/man/man1/perl5200delta.1.gz
/usr/share/man/man1/perl5201delta.1.gz
/usr/share/man/man1/perl5202delta.1.gz
/usr/share/man/man1/perl5203delta.1.gz
/usr/share/man/man1/perl5220delta.1.gz
/usr/share/man/man1/perl5221delta.1.gz
/usr/share/man/man1/perl5222delta.1.gz
/usr/share/man/man1/perl5223delta.1.gz
/usr/share/man/man1/perl5224delta.1.gz
/usr/share/man/man1/perl5240delta.1.gz
/usr/share/man/man1/perl5241delta.1.gz
/usr/share/man/man1/perl5242delta.1.gz
/usr/share/man/man1/perl5260delta.1.gz
/usr/share/man/man1/perl5261delta.1.gz
/usr/share/man/man1/perl561delta.1.gz
/usr/share/man/man1/perl56delta.1.gz
/usr/share/man/man1/perl581delta.1.gz
/usr/share/man/man1/perl582delta.1.gz
/usr/share/man/man1/perl583delta.1.gz
/usr/share/man/man1/perl584delta.1.gz
/usr/share/man/man1/perl585delta.1.gz
/usr/share/man/man1/perl586delta.1.gz
/usr/share/man/man1/perl587delta.1.gz
/usr/share/man/man1/perl588delta.1.gz
/usr/share/man/man1/perl589delta.1.gz
/usr/share/man/man1/perl58delta.1.gz
/usr/share/man/man1/perldelta.1.gz
要读取某个功能的规范,我可以使用perldoc -f function
,但这并不能告诉我该功能是在哪个版本中引入的。
有什么好主意吗?