* Rick Measham ([EMAIL PROTECTED]) [31 Mar 2003 16:51]:

[...]
> What I'm wondering is: Is there a better (more compact, but still
> fast) way to store this than in a perl data structure?

There's always YAML. Not as fast as a raw structure, but possibly
easier to edit. Although there is the overhead of having it as a
requirement. Is speed of loading that much of an issue anyway?
Speed of manipulation would be the key, I think.

---
Thursday after Ash Wednesday:
   precedence: Weekday
   season: Lent
   color: Purple
   relation: Easter Sunday
   offset: -3
 
Easter Sunday:
   precedence: Solemnity
   season: Paschal
   color: White
   callback: |-
      sub {
         ...
      }

Conversion of St. Paul the Apostle:
   precedence: Feast
   color: White
   fixedmonth: 1
   fixedday: 25
...


-- 
Iain.

Reply via email to