On The Insider: Amanda Bynes in Crash

Manipulate arrays and hashes like a pro with this Perl function guide

Topics:
Programming Languages,
Web Development and Design
Tags:
Development Tools,
Function,
Perl,
Programming Languages,
Scripting Languages,
Software Development,
Software/Web Development,
TechRepublic Inc.,
Web Development
Source:
TechRepublic

FREE Registration is required

Overview: This document explores some of the most useful Perl functions for manipulating arrays and hashes, with brief explanations of how each one works and when it should be used.

While Perl is well-known for its string processing capabilities, the scripting language is also very capable when it comes to manipulating arrays and hashes—two common programming tasks. This download lists several these Perl data structure functions in an easy to read quick reference table. Besides listing the function, showing the syntax, and explaining how and when to use it, each function is also shown in an example code snippet. Some of the functions explained in this download include:

  • scalar(@arr)
  • pop(@arr)
  • delete $hash{$key}
  • sort(@arr)
Are you using Perl, PHP or some other language in your Web pages? What is your preferred Web scripting language and why?

This download is also available as a TechRepublic article.

(Is this item miscategorized? Does it need more tags? Let us know.)

Format: PDF | Size: 68KB | Date: Aug 2005 | Version: 1.0 | System Requirements: Acrobat Reader 5.0 or later | License: copyright | Downloads: 1243


advertisement
advertisement

Returning users: Log In Here!

Already registered on BNET, TechRepublic, or ZDNet? Simply log in.

Free Membership: Sign Up Now!

Sign up for a free membership today and get instant and unlimited access to one of the largest databases of white papers, webcasts, and casestudies anywhere. Your FREE membership allows you to:

  • Download an unlimited amount of content, including classic and current white papers, case studies, webcasts and more
  • Track content on your chosen topics of interest
  • Receive targeted email alerts when your favorite content is added
  • Save content for future reading
  • Receive our member newsletter
When you register to access this library, you become a member of TechRepublic. In addition, you allow us to share your information with companies that produce products or services featured in the library--so that such companies may contact you with information and offers regarding their products and services. This enables us to keep the library a free service. As a library registrant, you will receive a complimentary subscription to the TechRepublic member newsletter. You can unsubscribe from this newsletter at any time. By clicking the Sign up button, you indicate that you agree to our Terms and Conditions and have read and understand our Privacy Policy.
advertisement
Click Here