in reply to Re: split versus =~
in thread split versus =~

for ( glob join '-', ('{-,}42') x 3 )

I like that glob ... to generate a list (as I have not personally seen it used much outside of collecting file paths).