名称 WWW::StationJp::API - 这是一个 StationJP 模块。 概要 use WWW::StationJp::API; my $station = new WWW::StationJp::API(); my $line = $station->line({linecode => 11302}); print $line->{line_name}; 描述 WWW::StationJp::API 是一个 StationJP 模块。 执照 版权所有 (C) sue7ga。 这个库是免费软件; 您可以根据与 Perl 本身相同的条款重新分发和/或修改它。 作者 sue7ga
2021-07-02 15:03:43 13KB Perl
1
名称 Riji - 简单的,基于 git 的博客工具 概要 % rjji setup % riji server % riji publish 教程 日语: : 英文 描述 Riji 是一个简单的基于 git 的博客工具。 “日记”在中文里是日记的意思。 该软件是阿尔法质量。 API 可能会更改,恕不另行通知。 执照 版权所有 (C) Masayuki Matsuki。 这个库是免费软件; 您可以根据与 Perl 本身相同的条款重新分发和/或修改它。 谢谢 感谢 Gabor Szabo 提供出色的英语教程。 作者 松木雅之
2021-07-02 15:03:43 33KB Perl
1
名称 WebService::Simple - Web 服务 API 的简单接口 概要 use WebService::Simple; # Simple use case my $flickr = WebService::Simple->new( base_url => "http://api.flickr.com/services/rest/", param => { api_key => "your_api_key", } ); # send GET request to # http://api.flickr.com/service/rest/?api_key=your_api_key&method=flickr.test.echo&name=value $flickr->get( { method => "flickr.test.echo", name => "v
2021-07-02 15:03:42 33KB Perl
1
#VIC:trade_mark: VIC:trade_mark: 是一种很好的语法,可以编译为 PIC 程序集。 有关详细的最新文档,请阅读 。 ##以用户身份从源头构建 有关安装的更多详细信息,请参阅: : 从源代码快速构建一些东西: $ perl ./Build.PL --install_base=/usr/local/ $ ./Build test $ ./Build install ##依赖 该模块依赖于以下需要使用 CPAN 安装的模块。 有关安装的更多详细信息,请参阅: : Module::Build Pegex Moo Getopt::Long XXX (仅用于调试) ##测试模块 如果您是开发人员,要进行测试,您需要安装App::Prove : $ prove -lv t 另一种选择是使用Build.PL $ ./Build test ##Vim 语法 VIC:trade_mark: 的vim语法在sh
2021-07-02 15:03:42 148KB Perl
1
名称 WWW::Google::Time - 通过 Google 获取不同地点的时间 概要 use strict; use warnings; use WWW::Google::Time; my $t = WWW::Google::Time->new; $t->get_time("Toronto") or die $t->error; printf "It is %s, %s (%s) %s %s, %s in %s\n", @{ $t->data }{qw/ day_of_week time time_zone month month_day year where /}; 描述 模块非常简单,它接受某个地点的名称并返回该地点的当前时间(只要谷歌有该信息)。 建设者 new my $t = WWW::Google::Time->ne
2021-07-02 15:03:42 27KB Perl
1
名称 Hashids - 从数字生成短哈希 概要 use Hashids; my $hashids = Hashids->new('this is my salt'); # encrypt a single number my $hash = $hashids->encode(123); # 'YDx' my $number = $hashids->decode('YDx'); # 123 # or a list $hash = $hashids->encode(1, 2, 3); # 'eGtrS8' my @numbers = $hashids->decode('laHquq'); # (1, 2, 3) # also get results in an arrayref my $numbers = $hashids->decode('l
2021-07-02 15:03:41 15KB Perl
1
名称 Test::Flatten - 子测试输出到展平 概要 吨/英尺 use Test::More; use Test::Flatten; subtest 'foo' => sub { pass 'OK'; }; subtest 'bar' => sub { pass 'ok'; subtest 'baz' => sub { pass 'ok'; }; }; done_testing; 运行 $ prove -lvc t/foo.t t/foo.t .. # ------------------------------------------------------------------------------ # foo # -----------------------------------------------------
2021-07-02 15:03:41 22KB Perl
1
名称 Web::Query - 另一个像 jQuery 一样的抓取库 概要 use Web::Query; wq('http://www.w3.org/TR/html401/') ->find('div.head dt') ->each(sub { my $i = shift; printf("%d %s\n", $i+1, $_->text); }); 描述 Web::Query 是另一个抓取框架,具有类似 jQuery 的界面。 是的,我知道 Ingy 的 。 但这只是阿尔法质量。 它不起作用。 Web::Query 构建在 CPAN 模块 、 和之上。 因此,该模块使用并且仅支持该模块支持的 CSS 3 选择器。 Web::Query 不支持 jQuery 的扩展查询(还没有?)。 如果选择器作为标量 ref 传递,它将被
2021-07-02 15:03:40 44KB Perl
1
名称 PerlMongers::Hannover - 汉诺威 Perl Mongers 版本 版本 0.7.5 概要 use PerlMongers::Hannover qw(info); info(); 网站 IRC频道 irc.perl.org #hannover.pm 邮件列表 电子邮件 聚会 每个奇数日历周星期二下午 6 点; 通过 Twitter、电子邮件和网站公布的日期和地点详情: 博客 推特 GitHub https://github.com/Hannover-pm 方法 信息 返回有关 Hannover Perl Mongers 的信息。 支持 源代码 此包的代码存储库位于: https://github.com/paultcochrane/PerlMongers-Hannover git clone https://github.com/paultco
2021-07-02 15:03:40 11KB Perl
1
名称 File::ConfigDir::Install - allows installing configuration files 概要 use ExtUtils::MakeMaker; use File::ConfigDir::Install; install_config 'etc'; WriteMakefile( ... ); # As you normaly would package MY; use File::ConfigDir::Install qw(:MY); 描述 File::ConfigDir::Install allows you to install configuration files from a distribution. 作者 Jens Rehsack, "" 错误 Please repo
2021-07-02 15:03:39 11KB Perl
1