Astro-Coords
view release on metacpan or search on metacpan
lib/Astro/Coords.pm view on Meta::CPAN
my $primary = $self->_cache_key;
return () unless defined $primary;
my $C = $self->_cache_ref;
return () unless exists $C->{$primary};
my $local = $C->{$primary};
return () unless defined $local;
my @answer = map { $local->{$_} } @keys;
# print "Caller: ". join(":", caller() ) ."\n";
# print "Getting cache values for ". join(":",@keys) ."\n";
# print "Getting cache values for ". join(":",@answer) ."\n";
return (wantarray() ? @answer : $answer[0] );
}
=item B<_calc_cache_key>
Internal (to the cache system) function for calculating the cache
key for the current epoch.
( run in 0.983 second using v1.01-cache-2.11-cpan-b61123c0432 )