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.
In reply to Re: How do I easily turn a year array into a string
by Fletch
in thread How do I easily turn a year array into a string
by Drigan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |