- 博客(3)
- 收藏
- 关注
转载 perl 解析xml 常用链接
更多 常用参数: _[_list_]_#_in+out_-_important">KeyAttr => [ list ] # in+out - important or _{_list_}_#_in+out_-_important"> KeyAttr => { list } # in+out - important 表示读取出来的dict中的key。_1_#_in_-_important
2012-06-25 18:00:14 219
转载 Perl分析xml文件并生成csv数据文件,同时写入数据库
#!/usr/bin/perl use XML::Simple; use Data::Dumper; use DBI; use Encode; use strict; use encoding "gbk"; #判断是否传递XML文件参数 if (open(MYFILE, "$ARGV[0]")) { # here's what to do if the file open
2012-06-25 17:59:04 442
转载 perl 调试
需要看的文档:Perl语言高级编程专题 (百度文库) 1. 最常用的方法 (1. print:这个用户就不用写了吧 (2. 模块: Data::Dumper 这个使用很容易,主要就是使用Dumper的函数做输出 1 2 3 4 5 6 7 8 9 10 11 12 #!/usr/bin/perl use strict; use Da
2012-06-24 22:51:45 213
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人