人生最大的悲哀莫过于迷失自我而无法自拔!
发布时间:2013-01-04 22:15:20
Perl socket programming tutorialSocket programming in perl can be done using the low level socket functions or the IO::Socket module.The IO::Socket module provides an object-oriented interface to the socket functions.In this tutorial we are going to use the low level socket functions.实例1:连接百度端口80[ro......【阅读全文】
发布时间:2012-12-22 00:28:58
[root@web-db masterbash]# cat perl.pl#!/usr/bin/perl -wuse strict;open(my $OUT,">>random_num.txt");my @step = ();while (1){ my $num= int (rand(200)+1); #所取随机数范围! my $i = 0; foreach my $step (@step){ &......【阅读全文】