Just another Perl shrine | |
PerlMonks |
Re: Using sprintf in regular expreession.by Fletch (Bishop) |
on Feb 02, 2022 at 20:41 UTC ( [id://11141081]=note: print w/replies, xml ) | Need Help?? |
Also not directly relevant because you've got them because of your misuse of /e, but in general if you need to use slashes in a match or substitution it's generally cleaner to use an alternate delimiter (or matched pair of delimiters) like s{MATCH}{REPLACE} instead to reduce the amount of backwhacking you need to do.
The cake is a lie.
In Section
Seekers of Perl Wisdom
|
|