use File::Find; use Win32::File; &File::Find::find(\&wanted,"C:\\httpd", "C:\\test…
use Mail::POP3Client; $mail = new Mail::POP3Client("username", "password", "pop3.yourserve…
#!/usr/bin/perl # $Id: msg2smtp.pl,v 1.8 2007/07/29 16:30:25 polak Exp $ my $usage = qq! $…
#!c:\perl\bin use Net::SMTP; print "Content-type: text/html \n\n"; $server = 'mail.mydomai…
#!/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…
#!/usr/bin/perl # # fdupe tool - finding duplicate files # # $Id: fdupe,v 1.7 2011/10/14 2…
#!/usr/bin/perl use Getopt::Long; use DBI; use warnings; use strict; my $config_file=''; m…
#!/usr/bin/perl -w use threads; use threads::shared; $| =1 ; my $flag : shared = 0; &p…