# -------------------------------------------------------------------- # function: Return …
#!/usr/bin/perl #turtle walk in his room, writeing or doing nothing #$pen=1(write) 0(do no…
user nobody; worker_processes 1; error_log logs/error.log info; pid logs/nginx.pid; events…
use Win32::Registry ; $key = "SOFTWARE\\newKey"; $HKEY_LOCAL_MACHINE->Open($key, $keyLi…
#!/usr/bin/perl $from="$me\@mydomain.com"; $to="you\@yourdomain.com"; $subject="Test email…
use Win32::ODBC; %drivers = Win32::ODBC::Drivers(); local $" = ", "; foreach $driver (sort…
#!/usr/local/bin/perl -Tw require 5.6.0; use Socket; use FileHandle; use strict; my($remot…
#!/usr/bin/perl use strict; use warnings; my $sql="select name,age from user where id=1"; …
#!/usr/bin/perl -w use strict; use Getopt::Long qw(:config no_ignore_case); # use GetOptio…
use LWP::Simple; $url = 'http://网页地址'; print get($url); #另一个模块查看网页源代码 use LWP::UserAgent; …
#! perl use strict; use warnings; my $type=3; my $length=8; my $count=3; my @base_char=();…
#!/usr/bin/perl -w use strict; my ($fileA,$fileB) = @ARGV; open A,'<',$fileA or die "Un…