Here is perl6 codeuse perl5:Net::FTP;它报告了一个错误是否有任何配置问题或尚未准备好?Is there any configuration issue or it is not ready yet?推荐答案使用 Inline::Perl5 将任意 Perl 代码嵌入 Raku 或 use Perl 库,就像它们是 Raku 库一样.Use Inline::Perl5 to embed arbitrary Perl code in Raku or use Perl libraries as if they were Raku libraries.Inline::Perl5 在 MoarVM 中适当地打包和包装了一个常规的 perl 解释器,以便 Rakudo 可以与 Perl 互操作.组合已经支持:Inline::Perl5 appropriately packages and wraps a regular perl interpreter in MoarVM so that Rakudo can interop with Perl. The combination already supports:使用在 Raku 中使用 Perl 模块,包括使用 XS 的模块在 Raku 中使用 Perl 对象,反之亦然用 Raku 编写 Perl 类的子类useing Perl modules, including ones that use XS, in RakuUsing Perl objects in Raku and vice-versaWriting, in Raku, sub-classes of Perl classesnine,Inline::Perl5 模块的作者,在 youtube 上做了一些关于它及其使用的演示:nine, the author of the Inline::Perl5 module, has done some presentations about it and its use that are available on youtube:关于内联的 3 分钟闪电谈话:2014 年项目开始后的第二天,Perl5 就出现了九个;更长的演示关于内联::Perl5.立>A 3 minute lightning talk about Inline::Perl5 that nine presented the day after the project began in 2014;Longer presentations about Inline::Perl5. 这篇关于perl5 库是否可以在 perl6 中导入?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 09-13 13:55