天行健,君子以自强不息!
发布时间:2013-04-02 12:29:12
Perl Data Structures CookbookPerl数据结构百科一、描述The single feature most sorely lacking in the Perl programming language prior to its 5.0 release was complex data structures. Even without direct language support, some valiant programmers did manage to emulate them, but it was har.........【阅读全文】
发布时间:2013-03-31 22:57:17
perl调试教程一、DESCRIPTIONA (very) lightweight introduction in the use of the perl debugger, and a pointer to existing, deeper sources of information on the subject of debugging perl programs.There's an extraordinary number of people out there who don't appear to know anything about .........【阅读全文】
发布时间:2013-03-26 18:01:16
1. Problem如何管理多个输入流The next input to your program could be coming from any number of filehandles, but you don't know which. You've tried using select( ), but the need to then do unbuffered I/O is more than you can deal with (and it's making your code very difficult.........【阅读全文】
发布时间:2013-03-12 14:57:40
一、ALARM方式示例程序:#!/usr/bin/perl$timeout = 2 ;while(1){ eval { local $SIG{ALRM} = sub{print "sorry,time out.please try again\n"} ; alarm $timeout ; #启动定时器 # 实际操作 print "hello world!\n" ; sleep 3 .........【阅读全文】