3 ms·
Perl 6 a new Perl-ish language with grammars powerful enough to parse and run itself. You can use it to write FP or OOP or imperative or reactive code, or all
by labster 8y ago
Perl 6 a new Perl-ish language with grammars powerful enough to parse and run itself. You can use it to write FP or OOP or imperative or reactive code, or all of the above in the same program. Despite the sprawling feature set, there's a clearly defined specification, and it's written in the form of tests. Currently there's only one implementation that runs 6.d, but that implementation runs on MoarVM (C lang), the JVM, and (in progress) Javascript.
And of course the best thing that they fixed from Perl 5 is the community. If you have an interest in learning more about the language, come by on #perl6 on freenode and we'd be glad to help you out.
- dan-robertson 8y agoWhat was wrong with the perl5 community? I never really interacted with it.
- mikorym 8y agoHow would this influence popular types of one-liners? As an example, if I run: perl -pi.bak -e "s/;/,/g" mycsv.csv Would there be any difference?
- cygx 8y agoI'm not sure -i has been implemented, and the regex syntax has gone through a major overhaul. In your particular example, the global flag is now an adverb you put in front, and characters like ; now have to be backslash-escaped or quoted, ie s:g/\;/,/ Sadly, the Perl6 regex/grammar engine is rather slow, taking away from its potential as a 'killer feature'...