3 ms·
I have been using Perl since 1996. I use it as my main language in a professional setting day to day. I have started doing some things in Go, but the bulk of
by tmaly 10y ago
I have been using Perl since 1996. I use it as my main language in a professional setting day to day.
I have started doing some things in Go, but the bulk of my code is Perl 5. Having lots of code written in Perl 5 that has worked for over a decade, makes a tough case to suddenly switch to Perl 6. In some sense its like switching from Python 2 to 3. You have to get all the CPAN authors to port all of their modules that your code depends on. I think there too much risk and not enough resources on the corporate side to make the switch.
- Diederich 10y agoThis works well: https://github.com/niner/Inline-Perl5 https://github.com/niner/Inline-Perl5
- raiph 10y agoDid you know you can use your Perl 5 code in Perl 6 and vice-versa? For example, if you've installed the Perl 5 DBI from CPAN then you can use that in Perl 6 code like this: use DBI:from<Perl5>; my $dbh = DBI.connect('dbi:Pg:database=test'); my $products = $dbh.selectall_arrayref( 'select * from products', {Slice => {}} ); I'm not saying Perl 6 is ready or right for you. But Perl 6 doesn't exactly have the Python 2 / Python 3 problem. CPAN authors don't have to port anything and you don't have to port anything to be able to use existing Perl 5 code in Perl 6 (and vice-versa).