in reply to Regex Unexplained Failure
I've managed to trace the error down to the use CGI qw(:cgi);One of the unexpected side-effects of using CGI is that it invokes binmode() on STDIN, STDOUT, and STDERR. If somewhere upstream of the regex you assume "\n" instead of "\r\n", then something may be getting thrown off.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Regex Unexplained Failure
by Flame (Deacon) on Aug 04, 2002 at 03:07 UTC |