On Wed, 24 Oct 2001, Tom Mornini wrote:
>1  <Perl>
>2    $ErrorLog = "|/home/tmornini/Source/ewingz/bin/spread_from_stdin.pl ERROR";
>3  </Perl>
>
>4  ErrorLog "|/home/tmornini/Source/ewingz/bin/spread_from_stdin.pl ERROR"
[snip]
>When I use the <Perl> section (which I need to allow the path to
>spread_from_stdin.pl to be dynamic at runtime) I receive this error:
>
>[Wed Oct 24 09:52:25 2001] [error] <Perl>: ErrorLog takes one argument,
>The filename of the error log

On line 4, you passed one argument delimited by quotation marks.
On line 2, you passed two arguments:
    1) |/home/tmornini/Source/ewingz/bin/spread_from_stdin.pl
    2) ERROR
so it seems you need to escape the space between them somehow
(I guess by a backslash, or put single quotes around the double
quotes, but I didn't test it).

Reply via email to