Almost every single regular expression we’ve seen to handle CSV has failed
in some regard. Instead of wasting your time refining your regular expression
to handle more and more absurdities with this format, let the
Text::CSV_XS module handle it for you. It’s going to be faster than anything
you write anyway, and it’s certainly easier。
iLRainyday 发表于 2012-11-20 21:31
回复 18# yizhengming
谢谢建议。我买过一本perl language reference manual(perldoc的hard copy),背 ...
背诵不敢说,看的也算是比较熟悉了
欢迎光临 Chinaunix (http://bbs.chinaunix.net/) | Powered by Discuz! X3.2 |