-
perl 用crontab 调用 环境变量的问题PERL使用DBI连接数据库直接执行perlconnmysql.pl 可以完美执行但是用crontab调用connmysql.pl 提示缺少Compilationfailedinrequireat(eval5)line3.Perhapsarequiredsharedlibraryordllisn'tinsztj2247 时间:10-10 + 阅读全文
-
求助有关格式化输出的问题比如我把诸如001234这样的字符串读入到哈希的值里面,print哈希的值时还是这个字符串,可是我把这个哈希的值print到一个文件句柄时,在文件里就变成了1234,前面的0没有了,试过printf格式化(%6d)输出也不行,求助一下,先谢过~x9x9 时间:10-10 + 阅读全文
-
[zt from ml] perl or python? 回答者比较公正,勿口水>IsitbettertolearnPerlorPythonsinceicanmanageonlywriting>simplebashshellscripts.Itdependsonmorethings,likethethingsyouneedtodo,thelanguagepreferedby兰花仙子 时间:10-10 + 阅读全文
-
[zz] Too Easy or Too Hard作者:DaveCrossWehearalotofpeoplecomplainingthatprogramminginPerlistoodifficult,butIthinkthatalotoftheseproblemsstemfrompeoplemakingtheoppositeassumption–thatwritingPelinux_arm 时间:10-10 + 阅读全文
-
如何得到两个文件不同的地方比如:1.txtaabbccdd2.txt1122dd33aa4455如何打印出1.txt与2.txt不同的部分:打印出:bbccli_000828 时间:10-10 + 阅读全文
-
perl 如何对文件操作#!/usr/bin/perl-wunless(open(MYFILE,"file1")){ die("cannotopeninputfilefile1\n"); }运行上面这个结果提示Name"main::MYFILE"usedonlyonce:possibletypoat1.plline2ztj2247 时间:10-10 + 阅读全文
-
请教: my $sepchar = grep(/,/ => @_) ? ";" : ",";请教my$sepchar=grep(/,/=>@_)?";":",";中grep(/,/=>@_)的=>表示什么啊?dahe_1984 时间:10-10 + 阅读全文
-
求助:用循环实现的一个问题A文本内容10.8.0.4/3010.8.0.8/3010.8.0.12/3010.8.0.16/3010.8.0.20/30..复制代码B文本的内容96.44.1mcshell 时间:10-09 + 阅读全文
-
perl 正则表达式问题本帖最后由mitmax于2010-10-0911:02编辑#!/usr/bin/perl-wusestrict;useIO::Socket;my$sock=newIO::Socket::INET(mitmax 时间:10-09 + 阅读全文