IMHO, you are overcomplicating it. sprintf can take a list of values, no need for a map.
It can even rearrange the order, tho I prefer the slice here.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re^2: Using sprintf in regular expreession.
by LanX
in thread Using sprintf in regular expreession.
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |