Astro-FITS-CFITSIO-Simple
view release on metacpan or search on metacpan
lib/Astro/FITS/CFITSIO/Simple.pm view on Meta::CPAN
my %rdfits_opts = %{$opts};
delete @rdfits_opts{
grep { !exists $rdfits_spec{ lc( $_ ) } }
keys %rdfits_opts
};
# shallow copy, then delete rdfits options
my %delegate_opts = %{$opts};
delete @delegate_opts{ keys %rdfits_opts };
# if there are additional arguments, guess that we're being
# asked for some columns, and set the requested HDUTYPE to table
$rdfits_opts{hdutype} = 'table' if @_;
# validate arguments
my %opt = validate_with(
params => [ \%rdfits_opts ],
normalize_keys => sub { lc $_[0] },
spec => \%rdfits_spec
);
( run in 0.813 second using v1.01-cache-2.11-cpan-702932259ff )