出版時間:2006-4 出版社:東南大學出版社 作者:(美)Randal L.Schwartz 頁數:283
Tag標簽:無
內容概要
《Perl語言入門,第四版》與其他“駱駝叢書”一樣,引領了許多Perl程序員從入門走向精通。本書出自三個Perl社區(qū)的卓越成員之手——他們擁有多年從事Perl培訓的豐富經驗,同時本書針對最新的Perl語言入門5.8版本做了相應的修訂。 Perl是為高效工作而設計的。開始時,它只是Unix系統(tǒng)管理員快速完成一些簡單任務的工具,漸漸地它發(fā)展成為一種跨平臺的、功能強大的編程語言,被頻繁地應用于網站開發(fā)、數據庫處理、XML處理和系統(tǒng)管理等等。同時,它作為快速開發(fā)工具在日常工作中仍被廣泛使用。也許,你是偶然地進入Perl程序開發(fā)領域,但我們相信Perl的簡潔特性和強大功能使將使你愛不釋手。 基于多年Perl咨詢的成功經驗,作者重新修訂了此書,不但保留了原書中詳盡的討論、豐富的實例和獨特的理解,而且讓本書更適合于初學者。
書籍目錄
Preface1.Introduction Questions and Answers What Does “Perl”Stand For How Can I Get Perl How Do I Make a Perl Program A Whirlwind Tour of Perl Exercises2.Scalar Data Numbers Strings Perl’s Built-in Warnings Scalar Variables Output with print The if Control Structure Getting User Input The chomp Operator The while Control Structure The undef Value The defined Function Exercises3.Lists and Arrays Accessing Elements of an Array Special Array Indices List Literals List Assignment Interpolating Arrays into Strings The foreach Control Structure Scalar and List Context in List Context Exercises4.Subroutines Defining a Subroutine Invoking a Subroutine Return Values Arguments Private Variables in Subroutines Variable-Length Parameter Lists Notes on Lexical(my)Variables The use strict Pragma The return Operator Non-Scalar Return Values Exercises5.Input and Output Input from Standard Input Input from the Diamond Operator The Invocation Arguments Output to Standard Output Formatted Output with printf Filehandles Opening a filehandle Fatal Errors with die Using Filehandles Reopening a Standard Filehandle Exercises6.Hashes What Is a Hash Hash Element Access Hash Functions ……7.In the World of Regular Expressions8.Matching With Regular Expressions9.Processing Text with Regular Expressions10.More Control Structures11.File Tests12.Directory Operations13.Strings and Sorting14.Process Management15.Perl Modules16.Some Advanced Perl TechniquesA.Exercise AnswersB.Beyong the LliamaIndex
圖書封面
圖書標簽Tags
無
評論、評分、閱讀與下載