read_file($filepath, sub { my ($content) = @_; say $content->get(1); });
To install NG, copy and paste the appropriate command in to your terminal.
cpanm
cpanm NG
CPAN shell
perl -MCPAN -e shell install NG
For more information on module installation, please visit the detailed CPAN module installation guide.