$retval = check_status($status);
Checks the CFITSIO status variable. If it indicates an error, the corresponding CFITSIO error message is carp()ed, and a false value is returned. If the passed status does not indicate an error, then a true value is returned and nothing else is done
To install Astro::FITS::CFITSIO, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Astro::FITS::CFITSIO
CPAN shell
perl -MCPAN -e shell install Astro::FITS::CFITSIO
For more information on module installation, please visit the detailed CPAN module installation guide.