Robin wrote on 12.04.2005:
>On Tuesday 12 April 2005 00:31, Jan Eden wrote:
>> system ("webalizer", "-c ./webalizer.conf",
>> "/Users/jan/Sites/apache_logs/$file"); }
>> }
>> closedir(DIR);
>>
>> webalizer complains that it cannot find the configuration file
>> (provided via the -c parameter).
>Try:
>system ("webalizer", "-c", "./webalizer.conf",
>"/Users/jan/Sites/apache_logs/$file"); }
>
>(all one line)
>
>As I understand it, each argument to system is a separate parameter,
>whereas what you had was as though you'd grouped it with quotes on the
>bash command line.
>
That was the problem. How embarrassing.
Thanks! Jan
--
Remember: use logout to logout.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>