in reply to Re: need help to split list
in thread need help to split list

... and the logical conclusion:

@a=map/(\d+)(\D*)-/?$2?map$1.$_,$2..$':$1.$2..$':$_,split',',$s;