p5-TOML-XS:CPAN的TOML

时间:2021-04-12 02:01:44
【文件属性】:
文件名称:p5-TOML-XS:CPAN的TOML
文件大小:61KB
文件格式:ZIP
更新时间:2021-04-12 02:01:44
XS 名称 TOML :: XS-使用XS解析 概要 # NB: Don’t read_text(), or stuff may break. my $toml = File::Slurper::read_binary('/path/to/toml/file'); my $struct = TOML::XS::from_toml($toml)->to_struct(); 描述 该模块有助于通过XS在Perl中解析TOML文档,相对于纯Perl TOML库,这可以显着提高性能。 当前,它被实现为 C库的包装器。 职能 $ doc = TOML :: XS :: from_toml($ byte_string) 将包含序列化的TOML文档的字节字符串(即未解码的原始字节)转换为实例。 将TOML映射到PERL 大多数TOML数据项自然会映射到Perl。 以下细节是相关的: 字符串是字符解码的
【文件预览】:
p5-TOML-XS-master
----.gitignore(334B)
----Changes(86B)
----tomlxs.c(164B)
----t()
--------triple_q_in_dbl_quote.t(420B)
--------basic.t(3KB)
----XS.xs(11KB)
----LICENSE(483B)
----.gitmodules(78B)
----.github()
--------workflows()
----toml.h(14B)
----ppport.h(195KB)
----README.md(2KB)
----tomlc99()
----toml.c(14B)
----lib()
--------TOML()
----Makefile.PL(2KB)
----tomlxs.h(363B)
----MANIFEST(194B)

网友评论