in reply to another problem with the blank line regex
$lines =~ s#($/)+#$/#g;The /m and /s flags seem to be a little extraneous given your specific circumstances. /m is used to modify the behaviour of ^ and $ within the regex, /s to modify how . is processed. See perlre for more details.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Another Problem Removing Blank Lines
by amarceluk (Beadle) on May 21, 2002 at 18:00 UTC |