Welcome to the Monastery | |
PerlMonks |
Re: remove blank lines with regexby jeffenstein (Hermit) |
on May 21, 2002 at 12:59 UTC ( [id://168107]=note: print w/replies, xml ) | Need Help?? |
There isn't the s flag for the first regex. This will prevent the second from ever being run. For that matter, you can replace the entire while(){} with this regex:
In Section
Seekers of Perl Wisdom
|
|