in reply to Removing empty line(s) with regex in a multiple strings in a variable
$str =~ tr/\n//s;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Removing empty line(s) with regex in a multiple strings in a variable
by choroba (Cardinal) on Apr 27, 2010 at 15:48 UTC |