$/ = "\n+"; #### my @file = <$fh>; #### use warnings; use strict; use diagnostics; $/ = "\n+"; my @file = ; chomp (@file); print "@file\n"; __DATA__ xabcd a1 +b1 +b2 +b3 +b4 +b5 abcd xcdef c1 +d1 +d2 +d3 +d4 +cdef #### 16:14 >perl 1042_SoPW.pl xabcd a1 b1 b2 b3 b4 b5 abcd xcdef c1 d1 d2 d3 d4 cdef 16:14 >