09 2012 档案

perl ascii值与字符之间的相互转换
摘要:$num = ord($char);字符转为ascii值$char = chr($num);ascii值转为字符 阅读全文

posted @ 2012-09-25 16:21 云中道长 阅读(429) 评论(0) 推荐(0)

perl sort 函数用法
摘要:sort函数用来对数组进行排序。用法如下:#按字符排序 @articles = sort @files;#按字符排序,显式说明 @articles = sort {$a cmp $b} @files;#按字符排序,忽略大小写 @articles = sort {uc($a) cmp uc($b)} @files;#按字符排序,逆序 @articles = sort {$b cmp $a} @files;#按数字顺序排序 @articles = sort {$a <=> $b} @files;#按数字顺序排序,逆序 @articles = sort {$b <=> $a} 阅读全文

posted @ 2012-09-08 19:57 云中道长 阅读(616) 评论(0) 推荐(0)

blast2go提示内存不足的解决办法
摘要:Blast2GOPipelineVersion2.5.0--------------------------------------Hashforresourceec2go_19072011.txtoftypeeccreated.4003associationsloaded.Blast2GObuild:23092011Changeb2g-propertiesfileto:./b2gPipe.propertiesBlast2go.version=2.5.0Blast2GOV.2.5.0started(withoutGUI)createnewProjectsetnewProjectHitdescr 阅读全文

posted @ 2012-09-05 20:10 云中道长 阅读(1018) 评论(0) 推荐(0)

导航