It's _different_. But working for a few years with Perl 5, it really grew on me. It could use a good "Perl: The Good Parts" book, I guess.
I haven't looked at Perl 6 yet, don't know if that's better or worse. Too many other things to do, and I don't think I'll ever work with Perl professionally again, that ship has probably sailed.
Re:Why I’m Learning Perl 6
by abecedarius on Wednesday July 26, 2017 @09:00AM
(#14855803)
Higher Order Perl might serve for that. (I haven't really read any other Perl books.)
And you can read it for nothing, if you are interested:
The Perl 5 equivalent is Damian Conway's Perl Best Practices
PBP is very good, but pretty desperately needs an update. There might end up being a new version for Perl 6, but I doubt it will ever get one for Perl 5 and that's unfortunate.
Several pretty big recommendations (particularly regarding OOP in Perl) from PBP aren't really regarded as having stood the test of time very well.
Re:Why I’m Learning Perl 6
by tankenmate on Wednesday July 26, 2017 @08:42AM
(#14855681)
Blame Aho, Weinberger, and Kernighan. Oh and Larry :)
The good thing about awk is that it's limited. So you know when to stop using it and move to use a different language when your requirements exceed the comfort zone of awk.
Larry Wall came and made a language inspired by awk that doesn't give feedback on when you're out of the comfort zone. This lets you make a mess before you know what you've done (aka technical debt). The same problem 'that killed Smalltalk and could have killed ruby' too (thanks, Bob Martin).
Re:Why I’m Learning Perl 6
by tannhaeuser on Wednesday July 26, 2017 @04:19PM
(#14859879)
Why are the awk guys to blame for Perl syntax?
Re:Why I’m Learning Perl 6
by tankenmate on Wednesday July 26, 2017 @04:51PM
(#14860227)
> (It's sorta like sed, but not. It's sorta like awk, but not. etc.)
Guilty as charged. Perl is happily ugly, and happily derivative.
Usenet article <[email protected]> (1992) -- Larry Wall
No other reason, that's all. Just the syntax.