Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^4: How to replace spaces with different chars?by LanX (Saint) |
on Jul 07, 2022 at 16:49 UTC ( [id://11145338]=note: print w/replies, xml ) | Need Help?? |
Hi Ken 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 °) thanks to eyepops++ for keeping this listed in his homenode! :)
In Section
Seekers of Perl Wisdom
|
|