Help for this page

Select Code to Download


  1. or download this
    push(my @file2, $_);
    
  2. or download this
    my @file2;             # scope it OUTSIDE of your block
    while (<FILE2>) {
    ...
    # ...
    
    print FILE3, @file2;   # prints all elements