Astro-FITS-CFITSIO-Simple
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/Astro/FITS/CFITSIO/Simple/PrintStatus.pm view on Meta::CPAN
my $pct_done = 100 * $rows / $self->{nrows};
my $next = int( ( $pct_done + 1 ) / 100 * $self->{nrows} + 0.5 );
$next = $self->{nrows}
if $next > $self->{nrows};
$next;
}
sub update {
my ( $self, $rows_done ) = @_;
$self->output( $rows_done, $self->{nrows} );
}
{
package Astro::FITS::CFITSIO::Simple::PrintStatusObj;
our @ISA = qw/Astro::FITS::CFITSIO::Simple::PrintStatus/;
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.650 second using v1.00-cache-2.02-grep-82fe00e-cpan-4673cadbf75 )