in reply to Re^2: Reading a file with 8kB long lines
in thread Reading a file with 8kB long lines
Something like this would do it:
my $line = ''; while( <$fh> ) { next if m[^//]; $line .= $_; if( $line =~ m[;\Z]m ) { ## process line or push ta a array } }
|
|---|