ysth has asked for the wisdom of the Perl Monks concerning the following question:
This works great, except that instead of just showing the error message (say, "foo\nbar\nbaz\n") on stderr, it looks like:
Is there a better way to do this? I don't mind the "Syntax error"/"Compilation failed" being added so much, but I'd really like to get literal newlines in the error message instead of having them translated to \n's.Syntax error on line 64 of /.../httpd.conf: foo\nbar\nbaz\nCompilation failed in require at (eval 4) line 3.\n
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: apache2 startup consistency checks
by perrin (Chancellor) on May 18, 2006 at 18:43 UTC | |
by ysth (Canon) on May 18, 2006 at 19:14 UTC | |
by ysth (Canon) on May 18, 2006 at 19:02 UTC | |
by perrin (Chancellor) on May 18, 2006 at 21:21 UTC | |
|
Re: apache2 startup consistency checks
by kwaping (Priest) on May 18, 2006 at 18:21 UTC | |
by ysth (Canon) on May 18, 2006 at 18:45 UTC |