On Wed, 12 May 2004, JJB wrote: [ ...snip...]> > # issue command and capture verbose o/p to $line > newsyslog "-v $logfile" > $line; # this statement gets error [...snip...]
It would be helpful to see exactly what the error is, but I would guess it's that 'newsyslog' is not a perl function. To run another executable from within a perl script, you need to do something like: system("newsyslog \"-v $logfile\" > $line"); there are, of course, other ways to do it as well. -- David Fleck [EMAIL PROTECTED] _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"