lnlidawei

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2024年1月27日

摘要: [perl]: file -- read_file.pl 一、代码 1 #!/usr/bin/env perl 2 3 4 # file_name: read_file.pl 5 6 7 sub read_file 8 { 9 open(DATA, "$_[0]") or die "[ db.pl 阅读全文
posted @ 2024-01-27 13:00 lnlidawei 阅读(2) 评论(0) 推荐(0) 编辑

摘要: [perl]: perl to database ( MariaDB ) 一、说明 1、 暂无 二、源码 1 #!/usr/bin/perl -w 2 3 4 # file_name: db.pl 5 6 7 use strict; 8 use DBI; 9 10 sub database 11 { 阅读全文
posted @ 2024-01-27 12:31 lnlidawei 阅读(1) 评论(0) 推荐(0) 编辑

摘要: [perl] out() -- function 一、源码 1 #!/usr/bin/perl 2 3 # perl_file = xx.pl 4 5 # name: out() 6 # function: print all elements of array of input parameter 阅读全文
posted @ 2024-01-27 06:50 lnlidawei 阅读(3) 评论(0) 推荐(0) 编辑