News for hackers. Stuff that matters.
Re:Why Perl? by worik on Thursday April 20, 2023 @06:33PM (#35647429)
Yes.

I mispoke. "A happy place" I shold have said

I never learnt awk or sed bedcause I knew Perl.

That loop, often in a command line invocation `perl -e 'while(<>){chomp;......}'`

My point is its happy place was not application programming, gui systems. AS I commented elsewhere here processing every Apache hook.

Pythin suffers the same problem. It too is brilliant at the little jobs, yet there are many GUI junk piles written in it, just as happened with Perl back in the day

Re:Why Perl? by wazoox on Friday April 21, 2023 @07:18AM (#35652167)
Perl offer auto looping : perl -n or perl -p. Typically one-liners are `perl -n -e 's/foo/bar/g'` or similar.