open( FILE1, "path here" ); open( FILE2, "path here" ); open( FILE3, "path here" ); #### while( $lines = ) { "Do fun stuff here" }