use Set::IntSpan; sub rangext { return Set::IntSpan->new(@_) . '' } # stringized