Table of Contents

  Main
    -Home
    -Advertising
    -Contact Us
    -Updates

  Perl Overview:
    -What is Perl?

  Getting Started:
    -Installing Perl
        / Unix
        / Windows

  Writing Code:
    -Hello World!
        / Basic Output
        / Adv. Output
    -Variables
        / Scalar
        / Arrays
        / Joining Arrays
    -File/Directory
        / Opening
        / Saving
        / Modifying
    -Subroutines
        / Calling
        / Feeding






3.2 - Joining Arrays
There may come a time when you need to combine arrays. I'm going to not only show you some tricks to combine lists quickly and easily, but also an easy way to save time when creating pre-defined arrays.
  1. @array1 #Your first array
  2. @array2 #Your second array
  3. push(@array1,@array2); #The second array is now appended to the first array

Here is a quick way to create a pre-defined array.

  1. @array1 = ("Apple","Plum","Orange","Pear"); #The long way
  2. @array2 = qw(Apple Plum Orange Pear); #The quick way, works the same as above

Questions? Comments?
Visit Our Web Forums

A1Javascripts
A heap of free javascripts to enhance your site!

123Webmaster
The largest directory of free webmaster resources on the planet!

1-Click-Clipart
The most popular free clip art and web graphic sites on the web!

Free-Clip-Images
A monstrous collection of free graphics including icons, lines, backgrounds, clip art, animated gifs, and more.

FreeWareFiles
Download tons of FREE Software! Games, Screen Savers, Utils, and more!

httpCITY
25 megs of free webspace; httpcity.com/YOU!

PerlAccess
Learn perl, or to download free, original perl scripts.