2012 年文章归档
共 7 篇文章
perl读写文件
#!/usr/bin/perl my $SRC_FILE="/home/lgg/t.txt"; my $DEST_FILE="/home/lgg/dest.txt"; if (open (SRCFILE ,"<$SRC_FILE")) { open (DESTFILE ,">$DEST_FILE"); my @reads = ; my $count=$#reads; my $curr_index= 0; while($curr_index <=$count) { my $line = $reads; $line=~s/^\s+|\s+$//g; if ( nil ne $line && ""…
2012-05-23 10:03
perl 学习
#config the country No. COUNTRY_CODE= 7 #config the MMSCID of the MMSC Server MMSC_ID= MMS #config the host name of the MMSC Server HOST_NAME = HUAWEI #config the dir of logs LOG_PATH= $HOME/mms_home/cdr/changeBill/log #config the source bill file's path. SRC_CDR_PATH = $HOME/mms_home/cdr/bill/send…
2012-05-11 11:19
DB2 数组
CREATE TYPE IDList AS INTEGER ARRAY; CREATE TYPE Projects AS VARCHAR(100) ARRAY; CREATE TYPE Resumes AS XML ARRAY;
2012-05-02 22:41