Help for this page

Select Code to Download


  1. or download this
    @trial_array = ("first", "second", "third");
    
  2. or download this
    $sec_el = $trial_array[1];
    
  3. or download this
    "this is a data file.
     This ie read in array.
     this is looped through"
    
  4. or download this
    $datafile = datacapture.cgi;
    open(DAT, $datafile);
    @data_array = <DAT>;
    
  5. or download this
    foreach $loopvariable (@data_array)
    {
        print $loopvariabe ;
    }