in reply to How do I easily turn a year array into a string
Set::IntSpan seems to stringify to the right thing from your list.
DB<5> x "" . Set::IntSpan->new( @yearArray ); + 0 '1992,1994-1995,1997-2000,2002,2004-2008'
The cake is a lie.
The cake is a lie.
The cake is a lie.
|
|---|