#!/usr/bin/perl -w use CGI; my $ks_cgi=new CGI; my $ks_ip="10.10.99.103"; # auto mount cen…
use DBI; my $driver="DBI:mysql"; my $database="sample_db"; my $user="root"; my $host="loca…
#!/usr/bin/perl -w use Win32; use Win32::Process; $ApplicationName = 'c:\\winnt\\system32\…
#!/usr/bin/perl use warnings; use Net::Ping; $hostname = shift @ARGV; $p = Net::Ping->n…
use Win32::ODBC; $DSN = "Email Contacts"; my $myDb = Win32::ODBC->new($DSN); if (! $myD…
# The syntax is (name, altnames, addrtype, len, addrs) = # gethostbyaddr (inaddr, inaddrty…
use Win32::Internet; use Encode; $INET = new Win32::Internet(); $file = $INET ->FetchUR…
#!/usr/bin/perl use strict; #use warnings; use encoding 'utf8'; use Data::Dumper; sub dump…
$html=`curl http://www.u148.net/article/69164.html`; @img=$html=~m{<img.*?src="([^"]*)"…
#!perl use strict; use warnings; #原始字符串 my $src_str='select username, userid, deptid, role…
package LuaTidy; # 对 Lua 代码进行缩进重排 use Exporter; our @ISA = qw(Exporter); our @EXPORT_OK = …
#!/usr/bin/perl -w sub usage(){ print "\n"; print "Usage : perl extract_host.pl <filena…