3 ms·
don't use $1, use named captures or list assignment. qr/\$\d+/ is a oneliner thing or a code smell.
by singingfish 11y ago
don't use $1, use named captures or list assignment. qr/\$\d+/ is a oneliner thing or a code smell.
- nikatwork 11y agoIt's not a smell if you are doing an asston of text munging. Rather than write one ginormo regex I prefer a sequence of short actions. It's easier to debug and reason with.