文件名称:CPAN文件解析PPI
文件大小:24KB
文件格式:ZIP
更新时间:2024-02-29 15:36:01
Perl
名称 CPANfile :: Parse :: PPI-使用PPI解析_cpanfile_s 版 版本0.05 概要 use v5.24; use CPANfile::Parse::PPI; my $path = '/path/to/cpanfile'; my $cpanfile = CPANfile::Parse::PPI->new( $path ); # or # my $cpanfile = CPANfile::Parse::PPI->new( \$content ); for my $module ( $cpanfile->modules->@* ) { my $stage = ""; $stage = "on $module->{stage}" if $module->{stage}; say sprintf "%s is %s", $mod
【文件预览】:
CPANfile-Parse-PPI-master
----cpanfile(769B)
----README.mkdn(4KB)
----t()
--------data()
--------die()
--------simple.t(808B)
--------warnings()
--------tests.json(20KB)
--------syntax()
--------data.t(628B)
----CONTRIBUTING.md(828B)
----.gitignore(45B)
----lib()
--------CPANfile()
----Changes(651B)
----dist.ini(1KB)