3 ms·
> [[ vs [ What does that even mean? Thanks for the last bit though. Perl has been in heavy use since the late 80s and a LOT of shitty legacy Perl has been wri
by Mithaldu 13y ago
> [[ vs [
What does that even mean?
Thanks for the last bit though. Perl has been in heavy use since the late 80s and a LOT of shitty legacy Perl has been written, while the Modern Perl renaissance only started in 2005. Many people still think all Perl looks like legacy Perl 4 style code and it's an image that's been hard to get rid of.
- anon1385 13y ago>it's an image that's been hard to get rid of. Maybe because Perl 6 adds even more obscure and magical operators? http://www.ozonehouse.com/mark/periodic/ http://www.ozonehouse.com/mark/periodic/
- Mithaldu 13y agoPerl 6 has nothing whatsoever to do with Perl 5 v18. Perl 6 cannot even execute code written for Perl 5 v18 (or any previous versions of Perl 5). It's a different language. However, people don't care to look and judge books by their cover, so you're probably right that it's a part of the reason.
- draegtun 13y agoI don't see anything magical in there? Looks like a good set of useful/powerful operators to me.
- lmm 13y agoI think many perl advocates try to have their cake and eat it - they talk about the power and conciseness that perl's short operators allow, and then also claim that you can write maintainable code in perl by using english function names, strict mode and so on. Both claims are mostly true, but you can't do both in the same piece of code.