when you say "make it a method", do you mean to make the cache an instance variable, or are you talking about just how it gets called?

bleh. instance variables? what am I saying. There are only functional interface to this module...


I'm guessing this is kind of what you are talking about:

  DateTime::Util::Astro::Moon::set_cache($cache);
  my $cache = DateTime::Util::Astro::Moon::get_cache();

--d

Reply via email to