On Wed, 2 Apr 2003, Flavio S. Glock wrote: > Dave, is this syntax ok? > > @datetimes = $set->as_list( span => $this_year ); > > - "span" is optional, if the set is bounded. > - otherwise, the program dies.
Hmm ... what exactly is span? A DateTime::Span? If not, I don't think we should use the word span there. If it is, that's a bit confusing, since for many sets they really only need to specify one date (if the site is unbounded in only one direction). Maybe just call it start and end, with potentially one or both being optional. -dave /*======================= House Absolute Consulting www.houseabsolute.com =======================*/