05 2013 档案
摘要:1.获取系统时间 孔乙己说:回字有四样写法,你知道么? 我说: 我不知道,我只知道perl获取系统时间有3种方法(孤陋寡闻) 1. 使用localtime函数 Converts a time as returned by the time function to a 9-element ahash list with the time analyzed for the local time zone. Typicallyused as follows: # 0 1 2 3 4 5 6 7 8 ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isd.
阅读全文
摘要:使用perl统计字数,使用正则表达式和hash首先去掉非显示字符(换行 空格)其次把大写转换为小写word.txt 原文A coal factory in Anhui province. The United States will pursue opportunities to increase coal exports to China, says Platts' Coal Trader International. Provided to China Daily US expected to increase exports to China and Europe as powe
阅读全文