Time of Update: 2014-10-26
標籤:des style blog http color os ar sp div wget http://www.cpan.org/src/5.0/perl-5.20.1.tar.gztar
Time of Update: 2014-08-19
標籤:光碟片鏡像 linux verify 作業系統 media 參考:http://hi.baidu.com/pengduo66/item/abfe454f81cdb7e5a4c06675 情境說明:選擇迷你安裝linux作業系統,沒有安裝perl工具。由於網路的故障問題,無法使用yum install perl
Time of Update: 2015-01-11
標籤:很多時候,我們希望對原有檔案的內容進行一定的修改,linux雖然有sed這個強大的文本編輯命令,但是他只能產生新檔案或列印到screen上(或許sed也具有修改原檔案的功能,小的才疏學淺,尚不知道,煩請大家告訴我),但在perl裡卻有這麼一個命令$^I例子:1 #!/usr/bin/perl2 use strict;3 $^I="";4 while(<>){5 s/^rate.*/rate=0/;6 s/^testMode.*/testMode=0/;7 print;8 }$^
Time of Update: 2014-12-11
標籤:perl1)記得剛開始寫perl的時候,對於一個功能,總是拿目前能用的資料類型來解決問題,不想想有沒有更好的,能用能解決問題就好,這就導致了後期,要在函數裡面添加功能的時候,函數要添加很多參數,一個函數有7、8個參數,並且這些參數都是有關係的,sub is_healthy{ my ($name, $sex, $age, $height, $weight) = @_;
Time of Update: 2014-11-29
標籤:ar sp for 檔案 bs cti nbsp 應用 設計 1 作用批量修改檔案名稱2 用法rename [switches|transforms] [files]3 參數-h,
Time of Update: 2014-11-27
標籤:ar as 學習 file 字串 ca br ash 關鍵字 1.perl4種變數scalar: $ 純變數,標量array: @hash: %file:
Time of Update: 2014-11-06
標籤:ar os sp on log bs ef new as #!/usr/bin/perluse Mail::Sender;#new一個sender,定義編碼格式防止亂碼 
Time of Update: 2014-10-26
標籤:style blog color ar 使用 for sp 檔案 div 前幾天用到了Perl語言,主要看了一下Perl中的Regex,在各種網頁語言中,Regex在處理字串的時候十分
Time of Update: 2014-10-11
標籤:style blog color os 使用 ar for 檔案 sp #!/usr/bin/perl -w@array = qw(a b c d);foreach (@array) {
Time of Update: 2014-10-08
標籤:style blog color 使用 ar for strong 檔案 sp 今天做一份東西需要對一些檔案特定的欄位進行修改,其實這改一下很方便,甚至不需要去寫一個指令碼,但是為了方便使
Time of Update: 2014-09-19
標籤:blog ar div sp log c ef size 管理 基本用法 #初始化%h為空白數組 %h={}; #用數組初始化%h為a=>1,b=>2
Time of Update: 2014-09-16
標籤:des blog os 使用 ar 檔案 2014 art sp 實驗室做FPGA開發時經常用到Verilog,代碼規範成為一個問題,於是乎寫了一個Perl指令碼對代碼進行正常化,主要是進
Time of Update: 2014-09-15
標籤:style blog http color ar for 檔案 資料 div perl中經常有會遇到處理CSV格式的檔案,這樣的檔案類似二維數組,因此實際上的操作時對二維數組的操作了。對這
Time of Update: 2014-09-14
標籤:style blog http color 使用 ar for 檔案 div 系統:Windows語言:Perl工具:Notepad++/cmd目前要用PERL來分析一下頁面。然後組群下載
Time of Update: 2014-09-10
標籤:des style blog io os ar for art div This is notes from reading the "object oriented perl
Time of Update: 2014-09-09
標籤:style color os io 使用 ar strong for 資料 1、$position =
Time of Update: 2014-09-03
標籤:des style os io ar for art cti sp Perl is a high-level ,
Time of Update: 2014-08-24
標籤:style blog color os 使用 io ar div log 發現居然沒有輸入文本和輸出文本,折騰了一晚上,到了半夜終於搞懂了:官方的Manual上這麼寫的:The
Time of Update: 2014-08-17
標籤:perl 模組 1、模組來源:隨Perl發行版本一起打包、從CPAN下載2、閱讀模組文檔:perldoc CGI3、安裝模組makemaker方式:指定安裝目錄:Module::build方式:cpan方式:4、File::basename模組5、僅選用模組的部分函數匯入引用列表即可10、不引入任何函數
Time of Update: 2014-08-07
標籤:perl linux 1、PerlPractical Extraction and Report Language:實用摘錄與報表語言2、多行注釋(1) =需要頂格寫= descriptionstatement;=cut(2)末尾的description需要頂格寫<<description; print