LinuxCBT Scripting Edition - LinuxCBT Perl Edition
LinuxCBT Perl Edition is a unique approach to teaching GNU/Linux Scripting skills. Serious Linux IT-professionals are expected to have a command of various scripting environments for administrative purposes.
LinuxCBT Perl Edition, is unparalleled in content, depth and expertise. LinuxCBT Perl Edition prepares you or your organization for successfully developing and implementing business-critical GNU/Linux-based scripting solutions.
下载时请使用下载工具(如迅雷等),不要直接点击下载!
LinuxCBT.Perl.Programming
下载后使用虚拟光驱软件(如Daemon Tools)加载就好了,加载这个文件的时候,选择文件的对话框中“文件类型”要选择所有类型才能看到.bin的文件啊
简介:
LinuxCBT Perl Edition is a unique approach to teaching GNU/Linux Scripting skills. Serious Linux IT-professionals are expected to have a command of various scripting environments for administrative purposes.
LinuxCBT Perl Edition, is unparalleled in content, depth and expertise. LinuxCBT Perl Edition prepares you or your organization for successfully developing and implementing business-critical GNU/Linux-based scripting solutions.
Recommended Prerequisites:
LinuxCBT Classic and/or Debian GNU/Linux Editions and/or LinuxCBT BASH Edition Open mind & determination to master Linux Scripting Solutions - Perl Access to a GNU/Linux-based PC to perform exercises in LinuxCBT Perl Edition
课程目标:
Practical Extraction & Reporting Language (Perl)
Basics Discuss Perl's capabilities Identify available Perl binaries on the system Discuss Perldoc - documentation program Discuss Perl interpreter Define first Perl program - Hello World Explain the application of the SHEBANG header within Perl scripts Explain warnings options Explain strict options Discuss compilation of Perl scripts and compare and contrast with shell scripts Comments Print function Escape sequences including (\t, \n, etc.) Explain quoting rules and variable interpolation Variable definition Operators
Perl Variables Variable scopes (Global/Local) Scalars - single values Discuss the properties of scalar variables Evaluate the definition of scalars Variable concatenation Arrays - lists & lists of lists Discuss the properties of array variables Evaluate the definition of arrays Multi-dimensional arrays Array slices Array functions Ranges Hashes - Key/Value pairs Discuss the properties of hashes Evaluate the definition of hashes
Control Structures Discuss various types of Subroutines and features Define non-returning sub-routines Define returning sub-routine Conditionals If - integer and string comparisons Else/elsif testing Unless For Loops Foreach Loops - Array iteration While Loops Until Loops
General Perl Information I Block Definition Use the X Functions for file system testing Positional parameters - ARGV Determine number of command line arguments Record Separators Internal Perl Variables Modules Explore the module path and applicable variables Discuss various ways to install Perl modules Install modules File I/O File Handles Open Function Discuss rules regarding file handles and use of the open function Assign file handles to Perl arrays for iteration Process text files using applicable file I/O functions and foreach loops Generate data files using file I/O functions Die function Error handing with Perl's built-in variables Count records from input file Use the Split function to separate fields based on various delimiters Use Join to assemble lists
General Perl Information II References Chomp - strip superfluous characters Command substitution Use execute function to launch external programs Use system function to execute external commands and evaluate return status Regular Expressions discussion Demonstrate the many rules of Regular Expressions Process arrays using push/pop functions Generated data files and process them using split and field determination Mail integration using Sendmail Mail integration using downloaded Perl mail module Define and execute Perl one-liners Common Gateway Interface (CGI) - Apache 2.x integration Process GET & POST variables MySQL Database integration Identify required modules for MySQL integration Define connection object Execute SELECT queries Execute INSERT queries Execute UPDATE queries Execute DELETE queries
|