文章详情
时间:2010-05-25 来源:openkore
#!/usr/bin/perl use strict; my ($sec,$min,$hour,$mday,$mon,$year_off,$wday,$yday,$isdat) = localtime; my $content = `ping 192.168.1.1 -n 5`; my $mytime = scalar (localtime); my $year = $year_off + 1900; print $mytime."\n"; $mon += 1; $mytime = sprintf("%04s%02s%02s%02s%02s%02s",$year,$mon,$mday,$hour,$min,$sec); print $mytime."\n"; open FILE,">>D\:\\ping$mytime\.txt"; print FILE $content; close FILE;
泡龙大闯关安卓版
割草派对安卓版
堡垒攻防战安卓版
1970-01-01