To install IO::Dir::Dirfd, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IO::Dir::Dirfd
CPAN shell
perl -MCPAN -e shell
install IO::Dir::Dirfd
For more information on module installation, please visit the detailed CPAN module installation guide.