Astro-FITS-CFITSIO-Simple
view release on metacpan or search on metacpan
lib/Astro/FITS/CFITSIO/Simple/PrintStatus.pm view on Meta::CPAN
$status = Astro::FITS::CFITSIO::Simple::PrintStatus->new( $what );
Create a new object. C<$what> may be one of the following:
=over
=item SCALAR
If this is non-zero, a progress indicator is written to STDERR. If
B<Term::ProgressBar> is available, that is used, else a simple
percentile is output. If this is zero, returns B<undef>.
=item GLOB
If it's a glob, it's assumed to be a filehandle glob, and output is
written to that filehandle.
=item CODEREF
If it's a code reference, it is called with three arguments
( run in 0.335 second using v1.01-cache-2.11-cpan-709fd43a63f )