in reply to Re^3: How to replace spaces with different chars?
in thread How to replace spaces with different chars?
Sorry, I have to disagree.
For numerous reasons it's best practice not to shell out for something which can be done inside Perl. (portability, performance, maintenance, security, ...)
It's even a bit worse, because ls is useless, if you just need the shell's globbing.
TMTOWTDI only covers this, if there is a good reason.
Anyway, let me point you to older discussions instead of reiterating the reasons °
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
°) thanks to eyepops++ for keeping this listed in his homenode! :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: How to replace spaces with different chars?
by kcott (Archbishop) on Jul 08, 2022 at 17:42 UTC | |
by LanX (Saint) on Jul 10, 2022 at 17:43 UTC |