File::Coda - a global destructor that closes stdout, with error-checking
use File::Coda;
File::Coda defines a global destructor that closes STDOUT and reports any failure. If the close fails, it means some script output was lost. This is diagnosed via 'warn'. If the incoming exit status is zero, set it to one, by default, so the script will exit with error status.
Jim Meyering <jim@meyering.net>, Ed Santiago <esm@pobox.com>
To install File::Coda, copy and paste the appropriate command in to your terminal.
cpanm
cpanm File::Coda
CPAN shell
perl -MCPAN -e shell install File::Coda
For more information on module installation, please visit the detailed CPAN module installation guide.