首页 软件开发 代码片段 perl ( Page 10 )

perl 204

#Perl
Perl 使用 OLE 自动化来控制 Excel

#!/usr/bin/perl -w use Win32::OLE; $class = 'Excel.Application'; $app = Win32::OLE->new…

2015-12-14 957

#Perl
Perl SAX 方式解析 XML

use XML::Parser; $currentLine = 0; $parser = new XML::Parser(Handlers => {Start => \…

2015-12-14 571

#Perl
Perl 访问 Windows 的剪切板

#!/usr/bin/perl use Win32::Clipboard; $clip = Win32::Clipboard->new(); $clip->Set( "…

2015-12-14 476

#Perl
Perl 语言实现一个窗体

Myapp.pm #!/usr/bin/perl -w use strict; # load wxPerl main module use Wx; # every applicat…

2015-12-14 1,011

#Perl
A Perl5 Script Copy File Via SSH

#!/usr/bin/env perl use utf8; use strict; use warnings; use 5.10.0; use File::Copy qw/copy…

2015-12-14 284

#Perl
perl 多线程,实时监控线程数,支持max thread

#!/usr/bin/perl -w #Description:rerun eod job group by system #Auther:Suzm #Date :2015-06-…

2015-12-14 579

#Perl
FizzBuzzWhizz

#!/usr/bin/perl use strict; die "Wrong argument number\n" if @ARGV != 3; # print to file i…

2015-12-14 939

#Perl
防止网站被爬虫爬取的几种解决办法

#! /bin/bash LOGFILE=/var/log/nginx/access.log PREFIX=/etc/spiders #日志中大部分蜘蛛都有spider的关键字,但…

2015-12-14 498

#Perl
遍历当前目录的所有文件

#!perl # #Author:caryl # # use strict; use Cwd; use File::Spec; use File::Basename; open S…

2015-12-14 252

#Perl
把二进制翻译成中文/英文

#!/usr/bin/perl -w #use diagnostics; sub bin2cn{ die "Error:1001:bin2cn\n" if chop($_[0]) …

2015-12-14 316

#Perl
顺序查找

#!/usr/bin/perl use strict; use warnings; use feature qw(say); print "输入需要查找的元素:"; my $obj…

2015-12-14 141

#Perl
Perl批量编译GCC源代码

#!/usr/bin/perl #use Cwd; sub CompileAll(){ local($dir) = @_; opendir(DIR,"$dir"|| die "ca…

2015-12-14 789
1 8 9 10 11 12 17