Paul Hoffman

Perl for dummies - 4th. - New york. Wiley Pub 2003 - xx, 381 pages : illustrations ; 24 cm. - For dummies. .

Getting Started with Perl -- Perl's Place in the Programming World -- Understanding the Purpose of Programming -- Making Computers Compute -- Translating Your Language into Computer Language -- Designing Computer Languages -- Appreciating the Benefits of Perl -- Many Versions, One Perl -- Differentiating Between Perl 5 and Perl 5.6 -- Exploring the New Features of Perl 5.8 -- Running Perl on Your Computer -- Perl Isn't Just for UNIX Anymore -- UNIX: Perl's First Home -- ActivePerl on Windows -- Perl for Mac Users -- Working with Perl on the Command Line -- Other Perls -- Utilizing the Comprehensive Perl Archive Network -- Working with the ActivePerl Package Manager -- Getting Help -- Diving into the Guts of Perl -- Grabbing a Text Editor -- Examining Some Basic Components of a Perl Program -- Creating Perl Programs Using Statements -- Keeping Tabs on Statements: Indenting and Spacing -- A Five-Minute Guide to Numbers and Text -- Working with Variables and Literals -- A Perl Program Tour, Times Two -- Examining the Inside of a Sample Program -- Exploring a Program with More Features -- Avoiding the Most Common Oversights -- The Basic Perl Programming Ingredients -- Terrific Text -- Checking Your Work: The print Statement -- Defining Strings -- Differentiating between Visible Characters and Character Values -- Quoting Text -- Manipulating Strings -- Performing Simple String Transformations -- Getting Information from Strings -- Writing for the World in Perl 5.6 and Perl 5.8 -- Nifty Numbers -- Contrasting Integers and Real Numbers -- Using Perl's Basic Math Operators -- Doing Math and an Assignment at the Same Time -- Autoincrementing and Autodecrementing -- Employing Simple Numeric Functions -- Converting Numbers into Strings -- Working with Really Big Numbers -- Counting in Nondecimal Number Systems -- Learning to Love Lists and Hashes -- Listing the Basics -- Specifying Elements and Slices of Lists -- Using Lists to Simplify Basic Tasks -- Using the print Statement with Lists -- Adding and Removing List Elements -- Splitting Strings with the split Function -- Using Scalar Variables -- Employing Existing Lists -- Distinguishing Context Types -- Using List::Util in Perl 5.8 -- Understanding the Basics of Working with Hashes -- Writing Hash Data to a File -- Creating Multidimensional Lists -- Creating Hashes Consisting of Lists -- Writing the Files for Lists within Lists -- Creating Cool Conditionals and Lovely Loops -- Exploring Basic Logic Statements -- Working with Conditional Statements -- Going Around in Loops -- Creating switch structures in Perl 5.8 -- Using Expressions as Logical Values -- Caveat Emptor: Jumping around Programs by Using Labels -- Doing Advanced Stuff with Operators and Functions -- Using Undefined Variables -- Looking for Strings within Strings -- Applying Some Fancy Formatting to Text and Numbers -- Tracking Time -- Picking Random Numbers -- Shifting Bits with Bit-Level Operators -- Converting Lists to Strings -- Rearranging Lists -- The Nuts and Bolts of Perl -- The Files Go In, The Files Go Out -- Understanding Perl File Types -- Opening and Closing Files -- Specifying Filenames and DirectoryPaths for Various Operating Systems -- Reading from a Text File the Easy Way -- Writing Text to a File the Easy Way -- Running Tests to Get Information on a File -- Moving File Streams in UNIX: Standard In, Standard Out, and Standard Error -- Beyond File and Directory Basics -- Reading from and Writing to Binary Files -- Changing File Characteristics -- Grouping Filenames by Matching Characters -- File Features Strictly for UNIX Users -- Getting the Nitty-Gritty Stats on Files -- Working with Directories of Files -- Stringing Along: Pattern Matching and Regular Expressions -- Working with Regular Expressions -- Making Inexact Matches in Regular Expressions -- Searching the Beginning or End of a String -- Using Quantifiers for Numerical Matches -- Getting the Match Results -- More Programming Magic with the m// Operator -- Using the grep Function -- Doing Simple Substitutions with the s/// Operator -- Using the split Function with More-Advanced Regular Expressions -- Using the tr/// Operator -- Looking Like a Pro: Subroutines, Imported Code, and Graceful Exits -- Saving Steps with Subroutines -- Importing Prewritten Perl Code into Your Programs -- Ending Perl Programs Gracefully -- Advanced Perl Demystified -- Perl and CGI: Web Server Programs Demystified -- Writing CGI Programs in Perl -- Using Environment Variables -- Gathering Information from HTML Forms -- Using GET and POST to Collect Form Data -- Displaying Output to the User -- Creating an HTML Form -- Using Redirection to Link to Other Sites -- Exploring a Few Other Environment Variables -- Working with Apache and Perl -- Handling CGI and HTML with Mason -- Perl Gets Cozy with the Web, E-Mail, and the Rest of the Internet -- Using the libwww-perl Library -- Getting Your E-Mail -- Pinging with Perl -- Using Net::FTP to Grab Files -- Delving into Domain Names with Perl -- Using Perl as a Gateway to XML and Web Services -- Exploring the Role of Perl and XML in Web Programming -- Combining XML and Perl -- Checking a Document for Accuracy -- How Do You Want to Read It? -- Writing an XML Document -- Reading and Writing XML in Other Ways -- Looking into Web Services -- Connecting Web Services and Perl -- Dancing with Databases -- Managing Databases Using Hashes -- Opening Databases -- Closing Databases -- Tips on Opening and Closing Databases -- Controlling Your Computer from Perl -- Getting with the System -- Controlling a Windows or Mac Computer with Perl -- Using UNIX-Only System Functions -- Object-Oriented Perl -- Understanding the Advantages Object-Oriented Programming -- Defining Objects, Methods, and Arguments -- Perl's Objects Made Easy -- Considering a Real-World Object Example -- The Part of Tens -- Ten Guidelines for Programming with Style -- Examining the Perl Creator's Style Preferences -- Choosing Your Operator -- Parentheses Are Your Friends -- Flexible Ordering for Conditionals -- Commenting about Comments -- Standout Line Treatments -- Comments Cohabitating with Code -- Naming Your Variables Descriptively -- Capital Offense, or Not? -- The Beauty of Blank Lines -- Ten Really Short, Really Useful Perl Programs -- Collecting Unique Lines -- Getting Rid of Multiple Blank Lines -- Printing Lines from a File in Sorted Order -- Printing a Range of Lines from a File -- Listing Just the Files in a Directory -- Listing a Directory by Size -- Sorting Directories by Extension -- Creating a Simple Calculator -- Randomizing a List -- Generating Random Mnemonic Passwords -- The Great Perl Reference -- Perl Operators -- Perl's Operator Hierarchy -- Perl's Functions and Statements -- Perl's Special Variables -- Perl's Predefined File Handles.

This title is designed for the new user of Perl. It provides thereader with all the tools and instructions they need to beginprogramming in Perl and includes tips to integrate XML with existingWeb data.

9780764537509


Perl (Computer program language)

005.133 HOF-P