open my $fh, '<', $filename or die "Cannot open '$filename' because: $ +!"; while ( <$fh> ) { chomp; if ( s/\\$// ) { $_ .= <$fh>; redo; } # now complete line in $_ }
In reply to Re: Iterator to parse multiline string with \\n terminator
by jwkrahn
in thread Iterator to parse multiline string with \\n terminator
by three18ti
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |