cpanm Plack相关
1.curl -L https://cpanmin.us | perl - --sudo App::cpanminus
参考:https://metacpan.org/pod/App::cpanminus#INSTALL
root@debian:/home/test/**# curl -L https://cpanmin.us | perl - --sudo App::cpanminus
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 295k 100 295k 0 0 1969k 0 --:--:-- --:--:-- --:--:-- 1971k
--> Working on App::cpanminus
Fetching http://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7044.tar.gz ... OK
Configuring App-cpanminus-1.7044 ... OK
Building and testing App-cpanminus-1.7044 ... OK
Successfully installed App-cpanminus-1.7044
1 distribution installed
root@debian:/home/test/****# curl -L https://cpanmin.us | perl - App::cpanminus
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 295k 100 295k 0 0 9173k 0 --:--:-- --:--:-- --:--:-- 9240k
App::cpanminus is up to date. (1.7044)
2.cpanm Plack
参考:https://plackperl.org/
root@debian:/usr/bin# cpanm Plack
--> Working on Plack
Fetching http://www.cpan.org/authors/id/M/MI/MIYAGAWA/Plack-1.0047.tar.gz ... OK
==> Found dependencies: File::ShareDir::Install
--> Working on File::ShareDir::Install
Fetching http://www.cpan.org/authors/id/E/ET/ETHER/File-ShareDir-Install-0.13.tar.gz ... OK
Configuring File-ShareDir-Install-0.13 ... OK
Building and testing File-ShareDir-Install-0.13 ... OK
Successfully installed File-ShareDir-Install-0.13
Configuring Plack-1.0047 ... OK
==> Found dependencies: Cookie::Baker, WWW::Form::UrlEncoded, Try::Tiny, Test::Requires, Hash::MultiValue, Devel::StackTrace, Devel::StackTrace::AsHTML, HTTP::Headers::Fast, HTTP::Entity::Parser, Stream::Buffered, Filesys::Notify::Simple, File::ShareDir, Apache::LogFormat::Compiler, Test::TCP
--> Working on Cookie::Baker
Fetching http://www.cpan.org/authors/id/K/KA/KAZEBURO/Cookie-Baker-0.09.tar.gz ... OK
==> Found dependencies: Module::Build::Tiny
--> Working on Module::Build::Tiny
Fetching http://www.cpan.org/authors/id/L/LE/LEONT/Module-Build-Tiny-0.039.tar.gz ... OK
==> Found dependencies: ExtUtils::InstallPaths, ExtUtils::Helpers, ExtUtils::Config
--> Working on ExtUtils::InstallPaths
Fetching http://www.cpan.org/authors/id/L/LE/LEONT/ExtUtils-InstallPaths-0.012.tar.gz ... OK
Configuring ExtUtils-InstallPaths-0.012 ... OK
==> Found dependencies: ExtUtils::Config
--> Working on ExtUtils::Config
Fetching http://www.cpan.org/authors/id/L/LE/LEONT/ExtUtils-Config-0.008.tar.gz ... OK
Configuring ExtUtils-Config-0.008 ... OK
Building and testing ExtUtils-Config-0.008 ... OK
Successfully installed ExtUtils-Config-0.008
Building and testing ExtUtils-InstallPaths-0.012 ... OK
Successfully installed ExtUtils-InstallPaths-0.012
--> Working on ExtUtils::Helpers
Fetching http://www.cpan.org/authors/id/L/LE/LEONT/ExtUtils-Helpers-0.026.tar.gz ... OK
Configuring ExtUtils-Helpers-0.026 ... OK
Building and testing ExtUtils-Helpers-0.026 ... OK
Successfully installed ExtUtils-Helpers-0.026
Configuring Module-Build-Tiny-0.039 ... OK
Building and testing Module-Build-Tiny-0.039 ... OK
Successfully installed Module-Build-Tiny-0.039
Configuring Cookie-Baker-0.09 ... OK
==> Found dependencies: Test::Time
--> Working on Test::Time
Fetching http://www.cpan.org/authors/id/S/SA/SATOH/Test-Time-0.06.tar.gz ... OK
Configuring Test-Time-0.06 ... OK
Building and testing Test-Time-0.06 ... OK
Successfully installed Test-Time-0.06
Building and testing Cookie-Baker-0.09 ... OK
Successfully installed Cookie-Baker-0.09
--> Working on WWW::Form::UrlEncoded
Fetching http://www.cpan.org/authors/id/K/KA/KAZEBURO/WWW-Form-UrlEncoded-0.24.tar.gz ... OK
Configuring WWW-Form-UrlEncoded-0.24 ... OK
==> Found dependencies: JSON
--> Working on JSON
Fetching http://www.cpan.org/authors/id/I/IS/ISHIGAKI/JSON-2.97001.tar.gz ... OK
Configuring JSON-2.97001 ... OK
Building and testing JSON-2.97001 ... OK
Successfully installed JSON-2.97001
Building and testing WWW-Form-UrlEncoded-0.24 ... OK
Successfully installed WWW-Form-UrlEncoded-0.24
--> Working on Try::Tiny
Fetching http://www.cpan.org/authors/id/E/ET/ETHER/Try-Tiny-0.30.tar.gz ... OK
Configuring Try-Tiny-0.30 ... OK
Building and testing Try-Tiny-0.30 ... OK
Successfully installed Try-Tiny-0.30
--> Working on Test::Requires
Fetching http://www.cpan.org/authors/id/T/TO/TOKUHIROM/Test-Requires-0.10.tar.gz ... OK
Configuring Test-Requires-0.10 ... OK
Building and testing Test-Requires-0.10 ... OK
Successfully installed Test-Requires-0.10
--> Working on Hash::MultiValue
Fetching http://www.cpan.org/authors/id/A/AR/ARISTOTLE/Hash-MultiValue-0.16.tar.gz ... OK
Configuring Hash-MultiValue-0.16 ... OK
Building and testing Hash-MultiValue-0.16 ... OK
Successfully installed Hash-MultiValue-0.16
--> Working on Devel::StackTrace
Fetching http://www.cpan.org/authors/id/D/DR/DROLSKY/Devel-StackTrace-2.03.tar.gz ... OK
Configuring Devel-StackTrace-2.03 ... OK
Building and testing Devel-StackTrace-2.03 ... OK
Successfully installed Devel-StackTrace-2.03
--> Working on Devel::StackTrace::AsHTML
Fetching http://www.cpan.org/authors/id/M/MI/MIYAGAWA/Devel-StackTrace-AsHTML-0.15.tar.gz ... OK
Configuring Devel-StackTrace-AsHTML-0.15 ... OK
Building and testing Devel-StackTrace-AsHTML-0.15 ... OK
Successfully installed Devel-StackTrace-AsHTML-0.15
--> Working on HTTP::Headers::Fast
Fetching http://www.cpan.org/authors/id/T/TO/TOKUHIROM/HTTP-Headers-Fast-0.21.tar.gz ... OK
Configuring HTTP-Headers-Fast-0.21 ... OK
Building and testing HTTP-Headers-Fast-0.21 ... OK
Successfully installed HTTP-Headers-Fast-0.21
--> Working on HTTP::Entity::Parser
Fetching http://www.cpan.org/authors/id/K/KA/KAZEBURO/HTTP-Entity-Parser-0.21.tar.gz ... OK
Configuring HTTP-Entity-Parser-0.21 ... OK
==> Found dependencies: Stream::Buffered, JSON::MaybeXS, HTTP::MultiPartParser
--> Working on Stream::Buffered
Fetching http://www.cpan.org/authors/id/D/DO/DOY/Stream-Buffered-0.03.tar.gz ... OK
Configuring Stream-Buffered-0.03 ... OK
Building and testing Stream-Buffered-0.03 ... OK
Successfully installed Stream-Buffered-0.03
--> Working on JSON::MaybeXS
Fetching http://www.cpan.org/authors/id/H/HA/HAARG/JSON-MaybeXS-1.004000.tar.gz ... OK
Configuring JSON-MaybeXS-1.004000 ... OK
==> Found dependencies: JSON::PP, Cpanel::JSON::XS
--> Working on JSON::PP
Fetching http://www.cpan.org/authors/id/I/IS/ISHIGAKI/JSON-PP-2.97001.tar.gz ... OK
Configuring JSON-PP-2.97001 ... OK
Building and testing JSON-PP-2.97001 ... OK
Successfully installed JSON-PP-2.97001 (upgraded from 2.27203)
--> Working on Cpanel::JSON::XS
Fetching http://www.cpan.org/authors/id/R/RU/RURBAN/Cpanel-JSON-XS-4.06.tar.gz ... OK
Configuring Cpanel-JSON-XS-4.06 ... OK
Building and testing Cpanel-JSON-XS-4.06 ... OK
Successfully installed Cpanel-JSON-XS-4.06
Building and testing JSON-MaybeXS-1.004000 ... OK
Successfully installed JSON-MaybeXS-1.004000
--> Working on HTTP::MultiPartParser
Fetching http://www.cpan.org/authors/id/C/CH/CHANSEN/HTTP-MultiPartParser-0.02.tar.gz ... OK
Configuring HTTP-MultiPartParser-0.02 ... OK
==> Found dependencies: Test::Deep
--> Working on Test::Deep
Fetching http://www.cpan.org/authors/id/R/RJ/RJBS/Test-Deep-1.128.tar.gz ... OK
Configuring Test-Deep-1.128 ... OK
==> Found dependencies: Test::Tester
--> Working on Test::Tester
Fetching http://www.cpan.org/authors/id/E/EX/EXODIST/Test-Simple-1.302140.tar.gz ... OK
Configuring Test-Simple-1.302140 ... OK
Building and testing Test-Simple-1.302140 ... OK
Successfully installed Test-Simple-1.302140
Building and testing Test-Deep-1.128 ... OK
Successfully installed Test-Deep-1.128
Building and testing HTTP-MultiPartParser-0.02 ... OK
Successfully installed HTTP-MultiPartParser-0.02
Building and testing HTTP-Entity-Parser-0.21 ... OK
Successfully installed HTTP-Entity-Parser-0.21
--> Working on Filesys::Notify::Simple
Fetching http://www.cpan.org/authors/id/M/MI/MIYAGAWA/Filesys-Notify-Simple-0.13.tar.gz ... OK
Configuring Filesys-Notify-Simple-0.13 ... OK
==> Found dependencies: Test::SharedFork
--> Working on Test::SharedFork
Fetching http://www.cpan.org/authors/id/E/EX/EXODIST/Test-SharedFork-0.35.tar.gz ... OK
Configuring Test-SharedFork-0.35 ... OK
Building and testing Test-SharedFork-0.35 ... OK
Successfully installed Test-SharedFork-0.35
Building and testing Filesys-Notify-Simple-0.13 ... OK
Successfully installed Filesys-Notify-Simple-0.13
--> Working on File::ShareDir
Fetching http://www.cpan.org/authors/id/R/RE/REHSACK/File-ShareDir-1.116.tar.gz ... OK
Configuring File-ShareDir-1.116 ... OK
==> Found dependencies: Class::Inspector
--> Working on Class::Inspector
Fetching http://www.cpan.org/authors/id/P/PL/PLICEASE/Class-Inspector-1.32.tar.gz ... OK
Configuring Class-Inspector-1.32 ... OK
Building and testing Class-Inspector-1.32 ... OK
Successfully installed Class-Inspector-1.32
Building and testing File-ShareDir-1.116 ... OK
Successfully installed File-ShareDir-1.116
--> Working on Apache::LogFormat::Compiler
Fetching http://www.cpan.org/authors/id/K/KA/KAZEBURO/Apache-LogFormat-Compiler-0.35.tar.gz ... OK
Configuring Apache-LogFormat-Compiler-0.35 ... OK
==> Found dependencies: Test::MockTime, POSIX::strftime::Compiler
--> Working on Test::MockTime
Fetching http://www.cpan.org/authors/id/D/DD/DDICK/Test-MockTime-0.17.tar.gz ... OK
Configuring Test-MockTime-0.17 ... OK
Building and testing Test-MockTime-0.17 ... OK
Successfully installed Test-MockTime-0.17
--> Working on POSIX::strftime::Compiler
Fetching http://www.cpan.org/authors/id/K/KA/KAZEBURO/POSIX-strftime-Compiler-0.42.tar.gz ... OK
Configuring POSIX-strftime-Compiler-0.42 ... OK
Building and testing POSIX-strftime-Compiler-0.42 ... OK
Successfully installed POSIX-strftime-Compiler-0.42
Building and testing Apache-LogFormat-Compiler-0.35 ... OK
Successfully installed Apache-LogFormat-Compiler-0.35
--> Working on Test::TCP
Fetching http://www.cpan.org/authors/id/T/TO/TOKUHIROM/Test-TCP-2.19.tar.gz ... OK
Configuring Test-TCP-2.19 ... OK
Building and testing Test-TCP-2.19 ... OK
Successfully installed Test-TCP-2.19
Building and testing Plack-1.0047 ... OK
Successfully installed Plack-1.0047
3.
https://metacpan.org/pod/plackup
https://en.wikipedia.org/wiki/Plack_(software)
https://metacpan.org/pod/plackup
4.模块安装:
curl -L https://cpanmin.us | perl - CGI::Application
curl -L https://cpanmin.us | perl - CGI::PSGI
curl -L https://cpanmin.us | perl - Mojo::DOM
cpanm Plack相关的更多相关文章
- 嵌入式单片机STM32应用技术(课本)
目录SAIU R20 1 6 第1页第1 章. 初识STM32..................................................................... ...
- 使用cpanm安装perl相关模块
cpanm是安装Perl模块的最方便的方法.自动下载安装依赖包.使用CPAN shell或下载源码包安装模块,遇到大量依赖关系,非常头痛.下面就是一例: 1. 安装cpanmcpanm其实是一个可执行 ...
- java中的字符串相关知识整理
字符串为什么这么重要 写了多年java的开发应该对String不陌生,但是我却越发觉得它陌生.每学一门编程语言就会与字符串这个关键词打不少交道.看来它真的很重要. 字符串就是一系列的字符组合的串,如果 ...
- SQL Server相关书籍
SQL Server相关书籍 (排名不分先后) Microsoft SQL Server 企业级平台管理实践 SQL Server 2008数据库技术内幕 SQL Server性能调优实战 SQL S ...
- dotNET跨平台相关文档整理
一直在从事C#开发的相关技术工作,从C# 1.0一路用到现在的C# 6.0, 通常情况下被局限于Windows平台,Mono项目把我们C#程序带到了Windows之外的平台,在工作之余花了很多时间在M ...
- 在ASP.NET Core应用中如何设置和获取与执行环境相关的信息?
HostingEnvironment是承载应用当前执行环境的描述,它是对所有实现了IHostingEnvironment接口的所有类型以及对应对象的统称.如下面的代码片段所示,一个HostingEnv ...
- virtualbox linux虚拟机相关
linux虚拟机设置为静态IP 在virtualbox中安装好linux虚拟机后,如果采用的是NAT方式的话,linux虚拟机默认采用dhcp方式自动上网,而且用的是NetworkManager服务而 ...
- WebGIS中等值面展示的相关方案简析
文章版权由作者李晓晖和博客园共有,若转载请于明显处标明出处:http://www.cnblogs.com/naaoveGIS/ 1.背景 等值面是气象.环保等相关项目上常用到的效果展示.在传统的CS项 ...
- .NET同步与异步之相关背景知识(六)
在之前的五篇随笔中,已经介绍了.NET 类库中实现并行的常见方式及其基本用法,当然.这些基本用法远远不能覆盖所有,也只能作为一个引子出现在这里.以下是前五篇随笔的目录: .NET 同步与异步之封装成T ...
随机推荐
- 第七届蓝桥杯省赛javaB组 第七题剪邮票
剪邮票 如[图1.jpg], 有12张连在一起的12生肖的邮票.现在你要从中剪下5张来,要求必须是连着的.(仅仅连接一个角不算相连)比如,[图2.jpg],[图3.jpg]中,粉红色所示部分就是合格的 ...
- HTML5 video 播放视频黑屏
<video width="320" height="240" controls> <source src="movi ...
- 在linux中安装protobuf编译器和运行时环境
为了使用源码编译protobuf,需要下面的工具: autoconf, automake, libtool, make, g++, unzip 如果你使用ubuntu/debian,你可以使用如下方式 ...
- redis的pub/sub命令
Redis 发布订阅 Redis 发布订阅(pub/sub)是一种消息通信模式:发送者(pub)发送消息,订阅者(sub)接收消息. Redis 客户端可以订阅任意数量的频道. 下图展示了频道 cha ...
- Java程序国际化学习代码一
Java程序国际化初识 1.基本思路 Java程序的国际化的思路是将程序中的标签.提示等信息放在资源文件中,程序需要支持哪些国家.语言环境,就对应提供相应的资源文件.资源文件是key-value对,每 ...
- mybatis 日志的使用以及设计
1.为什么要配置mybtis的logger? mybatis自己设计以及实现了org.apache.ibatis.logging.Log接口. Mybatis为了避免对第三方的日志包存在强依赖,内部的 ...
- python函数与模块(装饰器,文件处理,迭代器等)
os模块 os.system('命令') 利用python调用系统命令,命令可以是以列表或者元组内的元素形式* res import os res=os.system('ipconfig') prin ...
- python-web自动化-Js-滚动条操作
滚动条操作:当待操作的元素在页面可是区域外时,要将待操作的元素滚动到可视区域当中 步骤:1.先找要将要操作的元素element = driver.find_element_by_xxxx(" ...
- 走进HashMap
1.手写实现HashMap 2.解析代码并阐述HashMap1.7到1.8的变化 3.HashMap的遍历方式 4.HashMap与HashSet,Hashtable,ConcurrentHashMa ...
- OO第二单元(电梯)单元总结
OO第一单元(求导)单元总结 这是我们OO课程的第二个单元,这个单元的主要目的是让我们熟悉理解和掌握多线程的思想和方法.这个单元以电梯为主题,从一开始的最简单的单部傻瓜调度(FAFS)电梯到最后的多部 ...