Welcome to the only guidebook series that takes a visual approach to professional--level computer topics. Inside you'll discover step--by--step screen shots that demonstrate over 100 key Perl tasks, including: Demystifying references Creating variables and expressions Building arrays, lists, and subroutines Generating output Working with strings Handling regular expressions Working with file systems Harnessing Perl modules Using Perl with CGI Working with databases The companion CD--ROM includes: Perl 5.6.0 Perl Builder and ActiveState Perl Development Kit evaluation versions Perl2Exe for Win 32 trial version Visual Perl Editor and UltraEdit32 shareware versions Plus, all sample code and an eversion of the book
Sprache
Verlagsort
Verlagsgruppe
Zielgruppe
Für höhere Schule und Studium
Für Beruf und Forschung
Illustrationen
Maße
Höhe: 229 mm
Breite: 206 mm
Gewicht
ISBN-13
978-0-7645-3478-2 (9780764534782)
Copyright in bibliographic data is held by Nielsen Book Services Limited or its licensors: all rights reserved.
Schweitzer Klassifikation
How to Use This Book; 1. Getting Started; Introduction to Perl; Using Pico; Create a Perl Script; Execute a Perl Script; Create a Self - Executing Perl Script; Using Command Line Options; Upload a Perl Script to a Web Server; 2. Work with Variables; Using Strings; Using Numbers; Create a Scalar Variable; Manipulate a String Variable; Manipulate a Numeric Variable; Create an Array; Work With Arrays; Using Scalar Context; Using Special Variables; 3. Work with Data; Trim a String; Find the Length of a String; Change Case of a Character or String; Divide a String; Format a String; Extract a Substring; Search for a Substring; Using Mathematical Functions; Work With Undefined Variables; Work With Time; Using ASCII Values; Evaluate Code; 4. Using Operators; Introduction to Operators; Using the Assignment Operator; Using Relational Operators; Using Arithmetic Operators; Using Logical Operators; Using the Conditional Operator; Using the Comma Operator; Using Bitwise Operators; 5. Controlling the Flow of Code; Test a Condition; Create a Loop; Process a List; Create a Conditional Loop; Using Statement Modifiers; Control Loop Processing; Exit a Script; 6. Using Lists, Arrays and Hashes; Join List Elements Into a String; Assign a List to Another List; Using Elements in a List; Sort a List; Add and Remove Elements in an Array; Replace Elements in an Array; Create a Hash; Access Keys and Values in a Hash; Work With Hash Elements; 7. Using Subroutines; Using a Subroutine; Pass Arguments to a Subroutine; Set the Variable Scope; 8. Accepting Input and Generating Output; Using the Print Function; Format Output With the Printf Function; Define a Format; Get Keyboard Input; Execute a System Command; 9. Using Regular Expressions; Create a Regular Expression; Match Characters; Using Character Classes; Using Quantifiers; Using the Matching Operator; Using the Substitution Operator; Using the Translation Operator; Using Backreferences; 10. Work with the File System; Create and Write to a File; Read a File; Read Characters from a File; Change Position in a File; Determine the Position in a File; Determine the Status of a File; Change the Default Filehandle; Rename or Delete a File; Test a File; Work With Directories; Access Environment Variables; 11. Demystifying References; Create References; Dereference a Reference; Using Symbolic References; Using References With Arrays; Create an Array of Hashes; 12. Harnessing Packages and Modules; Create a Package; Using a Package; Create a Module; Using a Module; Get an Existing Module; Install an Existing Module; Using an Installed Module; 13. Debugging Code; Generate Warning Messages; Using Strict Error Checking; Using the Debugger; Set a Breakpoint in the Debugger; Enter Perl Statements in the Debugger; 14. Work with Perl and the Web; Introduction to HTML; Web Page Basics; Create a Form; Add Elements to a Form; Form Elements; Using Perl to Generate a Web Page; Using a Query String; Create and Process a Form in One Script; Create a Cookie; Read a Cookie; Access CGI Environment Variables; Using Server - Side Includes; Send E - mail Using Sendmail; 15. Work with Databases; Introduction to Databases; Connect to a Database; Issue a Command to a Database; Retrieve Information from a Database; Add a Record to a Database; Delete a Record from a Database; 16. Using the CGI.pm Module; Install the CGI.pm Module; Load the CGI.pm Module; Using the CGI.pm Module to Generate a Web Page; Specify Arguments for CGI.pm Functions; Using Object - Oriented Syntax; Create a Form; Create a Table; Extract Values from a Query String; Extract Multiple Values from a Form; Create a Cookie; Read a Cookie; Redirect a Web Page; Determine Information About a Perl Script; Generate a Custom Tag; CGI.pm Module Functions - Quick Reference; Appendix; Index.