Here is a brief implementation of the cnicutar idea:
use Pod::Find qw(pod_where); my $perlfunc_path = pod_where({ -inc => 1 }, 'perlfunc'); open my $in, "<", $perlfunc_path or die "$perlfunc_path: $!"; while(<$in>) { last if /=head2 Alphabetical/; } while(<$in>) { print "$1\n" if /=item (.{2,})/; }
Gives you a list including the following options:
-X FILEHANDLE -X EXPR -X DIRHANDLE -X abs VALUE abs ...
source share