in reply to Re: multiple "newline" delimiters
in thread multiple "newline" delimiters
That won't handle the case where the lines are stacked up right on top of each other, but I think it'll work for the cases where we need it to.my ($buffer, $line) = (undef, undef); my $read = true; while ($read) { $buffer = $curline->getline(); if ( $buffer =~ m{;|/} ) { $read = undef; } $line .= $buffer; } process_SQL($line);
|
|---|