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. -- Robin <[EMAIL PROTECTED]> JabberID: <[EMAIL PROTECTED]> Hostes alienigeni me abduxerunt. Qui annus est? PGP Key 0xA99CEB6D = 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485 A99C EB6D
pgpbOlHIxOKFw.pgp
Description: PGP signature