> Flavio, is there already a method to determine
> the number of elements in a DateTime::Set? 
> 
> If not, I can currently make it as_list, and then
> get the length of the list, but it would be 
> cleaner to have a method to do this.

What would be a name for this method?

There is no accessor yet. The number of 
elements is stored as:
  $set->{set}{too_complex}   -- if set is infinite
  1 + $#{$set->{set}{list}}  -- number of elements

- Flavio S. Glock

PS: sorry if this mail is being re-sent, 
 I had a problem with my webmail


Reply via email to