Help for this page

Select Code to Download


  1. or download this
    
    my @elems = ("x", "y", "z");
    # array size may be varied (lesser or more than 3)
    
  2. or download this
    
    my @tobepopulated = ("foo", "foo", "foo", "foo", "foo", "foo", "foo", 
    +"foo", "foo", "foo");
    
    # this can be more 10 elements
    
  3. or download this
    
    my @new_array = 
    ...
     "foo-z",
     "foo-z",
     "foo-z");