-
Perl的system()操作为了和Perforce(一个源代码控制系统)的客户端联动,在Perl里面加了一段类似的Code:@results=`echo$pwd|$p4-p$hostport-u$userlogin2>&1>>/tmp/out;$p4@args2>>tmp/err`;结果在Shell中run的很好的提取源代码文件的操作就得不到结果,resuMaxWu 时间:08-17 + 阅读全文
-
碰到一个中文乱码问题,求解答。系统环境是两台IBM服务器,一台数据库,一台Web。数据库安装oracle11.1.0.6.0web为apache(Serverversion:Apache/2.0.52),perl(v5.8.5),DBI(DBI 1.609),DBD(DBD::Oracle 1.23)。oracle字符集等信息为:select*fromnls_shiru 时间:08-17 + 阅读全文
-
看一下這個正則表達式需要匹配的是xxxXX,xis[a-zA-Z0-9],首字母不為數字,XX為一特定的單詞最先想到的是lookingbehind,但是似乎只能在前面定長的情況下,比如foo(?=bar)如果我想匹配fobar,foobar,lsbar等等怎麽辦當然只是一個獨立的單詞好辦,問題是這是一個字符串的一部分,所以沒法用bar$thanksforhelpztkx 时间:08-17 + 阅读全文
-
perl关于数列排序问题(sort)我又一个数列(895813098),我想把它从小到大进行排列。可是用了sort@array之后便成了(130588998),问题在哪里啊?我用sort试过别的数列都挺好的,但别的数列里的数字都是2位数的。我想知道该怎么队这个数列进行排列?pp-zz 时间:08-17 + 阅读全文
-
perl众给力啊,这本使用Perl实现系统管理自动化(第二版)中文版电子版何时可以将看到?RT!给力!perl众!!!http://oreilly.com.cn/book.php?bn=978-7-5641-1928-7作者:DavidN.Blank-Edelman著出版:2009年12月书号:978-7-5641-1928-7页数:639定价:88.00元 在China-Pub购买laohuanggua 时间:08-17 + 阅读全文
-
?目录是存在, 但是却显示No such file or directory脚本如下:#!/usr/bin/perl-wusestrict;open(DD,"date+%Y-%m|")||die"cannotexecshellcommand";my$datedir=<DD>;my@dt=split/-/,$datedir;my$path="/usr/local/tomcat/webapps/WEB-INF/worzhmysh 时间:08-16 + 阅读全文
-
请教个Perl CGI保存session问题#!/usr/bin/perl-wuseCGIqw(:standard);useCGI::Session;#print"Content-Type:text/html\n\n";my$cgi=newCGI;mitmax 时间:08-16 + 阅读全文