Why do you do this:
$txt =~ s/\n{3,}/\n\n/g;
When you're going to do this anyways:
$txt =~ s/\r|\n//g;
?
Also, I don't think you need that first print FILE;
Also, try adding or die $! after your open calls.
In reply to Re: weird problem
by Riales
in thread weird problem
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |