use strict; my @path = (); my @lastpath = (); my $count; my $inputfile = "input"; my $max …
#!/usr/bin/perl use strict; use warnings; for (qw <"system" "system.bak">){ die "err…
$dsn = dbi:mysql:northwind; $username="root"; $password="letmein"; $dbh = DBI->connect(…
#!/usr/bin/perl -w use Win32::OLE; use Win32::OLE::Const 'Microsoft Excel'; $class = 'Exce…
use News::NNTPClient; $nntp = new News::NNTPClient('news.yourserver.com'); ($first, $last)…
use Cwd; use Win32::ODBC; $DriverType = "Microsoft Access Driver (*.mdb)"; $DSN = "Email C…
use Net::FTP; $ftp = Net::FTP->new("ftp.cpan.org", Timeout => 30) or die "Could not …
use Win32::Internet; $I = new Win32::Internet(); $host = "服务器IP地址"; $user = "用户名"; $pass =…
#!/usr/bin/env perl6 use Net::FTP; my @locals = ( "/update/", ); my @remotes = ( "/usbip/"…
use Win32::Clipboard; use Win32::GuiTest qw/SendKeys/; while(1) { my @time = localtime(tim…
#!/usr/bin/perl -w #from 1970-1-1 to now, total seconds. my $time = time(); my $local_time…
#!/usr/bin/perl #Caution: The following program doesnot provide ANY WARRANTY for commercia…