Re:We were wizards – a foreword to Learning Perl
by teddyh on Sunday March 17, 2024 @06:11AM
(#39733258)
You can do that as a one-liner (I have kept the unused “re” module import, to keep it as close to your code as possible):
or if you want to avoid building one large output string:
if memory consumption is still an issue:
(This creates a useless Set object and throws it away as a side effect.)
[ Parent
| on HN ]
There are no comments on this comment yet.