There's more than one way to do things | |
PerlMonks |
Re^2: Using sprintf in regular expreession.by LanX (Saint) |
on Feb 02, 2022 at 23:58 UTC ( [id://11141092]=note: print w/replies, xml ) | Need Help?? |
> Perhaps a bit more long winded 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
In Section
Seekers of Perl Wisdom
|
|