![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Perl
八刀物语
echo "Nosense"
展开
-
学习注水-20161108-Perl: Can't locate XML:LibXML
BAOCUOCan’t locate XML/LibXML.pm in @INC (you may need to install the XML::LibXML module) (@INC contains: /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/pe转载 2016-11-08 19:35:49 · 678 阅读 · 0 评论 -
踩坑系列-20161111-神坑之KVM虚机备份细节——LVM
Problem & Solution安装 Sys:Virt 时,报错 - libvirt =<1.3.1 is required:编译安装libvirt ,再 cpan Sys:Virt 。(表示外网特别难连)附带贴一个重要的参考:libvirt 安装流程lvcreate 指令无效:安装 lvm2 包apt-get install lvm2Ubuntu 上的 LVM 操作:Ubuntu Se转载 2016-11-11 20:37:13 · 1344 阅读 · 0 评论 -
Perl-181006-xml 转 json
ProblemPerl 实现 xml 转 jsonSolution#!/usr/bin/perl -wuse XML::Simple;use Encode;use JSON;# use Data::Dumper;# print Dumper (XML::Simple-&gt;new()-&gt;XMLin($ARGV[0]));$xml = new XML::Simple;...原创 2018-10-06 13:44:22 · 315 阅读 · 0 评论 -
Perl-181006-curl get 测试
ProblemsPerl 模拟 Curl 操作Solution#/usr/bin/perl -wuse strict;use LWP::UserAgent;my $url = "http://www.baidu.com";my $agent=LWP::UserAgent->new();my $request = HTTP::Request->new(GET=>...转载 2018-10-06 22:02:28 · 127 阅读 · 0 评论