in reply to loop iterator in a string

> I would like to use the ".." as a loop operator but in a string.

Does it really need to be a string?

What about a functional solution to store intervals?

DB<83> $loop = sub {2,4..5} DB<84> say for &$loop 2 4 5 DB<85>

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery