5 ms·
> And good luck porting 25k CPAN modules to a completely new language. It will be possible to import most Perl 5 modules with the 'use v5;' feature.
by grondilu 11y ago
> And good luck porting 25k CPAN modules to a completely new language.
It will be possible to import most Perl 5 modules with the 'use v5;' feature.
- cygx 11y agoThat use case is actually handled by use Inline::Perl5; use Foo:from<Perl5>; I can imagine for Inline::Perl5 to eventually end up as a core module like NativeCall, but that's just speculation on my part.
- grondilu 11y agoOh yeah, the correct syntax will indeed be 'use Foo:from<language>;', where 'language' does not have to be Perl 5 (could be C, Java, python...). I'm not sure you need the Inline::Perl5. I don't think it's implemented yet, and I doubt it will be for Xmas. But it will eventually.
- cygx 11y agoI'm not sure you need the Inline::Perl5. You do, currently. I don't think it's implemented yet It is - nine's Inline::Perl5 module has been around for a year or so.