6 ms·
I have tens of thousands of lines of code written to Perl 5 that I can't run under Perl 6. That's it in a nutshell.
by CodeWriter23 10y ago
I have tens of thousands of lines of code written to Perl 5 that I can't run under Perl 6. That's it in a nutshell.
- zoffix222 10y agoYou can use Perl 5 modules via Inline::Perl5. And "tens of thousands" doesn't sound like a lot to begin with TBH...
- jjolla888 10y agoI've heard that Inline::Perl5 is klunky What's your experience?
- zoffix222 10y agoWhat's "klunky"? You add :from<Perl5> to module name and off you go. The only thing that irks me is Perl 5's common notation is snake_case, but in Perl 6 kebob-case is almost universal, so by bringing in Perl 5 code you break this stylistic convention.