Install libperl-apireference-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libperl-apireference-perl
Perl module to programmatically query the perlapi
Perl::APIReference is a Perl module that allows Perl programs to access the perlapi documentation for multiple releases of perl as an index (a hash). It supports a multitude of perl versions, starting from 5.6.