Help for this page

Select Code to Download


  1. or download this
    use strict;
    
    my $counter=1;
    ...
        $/="</Rec $counter>";
    }
    print "FIRST FILE: $first_file\nSECOND FILE: $second_file\n";
    
  2. or download this
    __DATA__
    <Rec 1>
    ...
    some text
    some text
    </Rec 4>