Re: error with external command

2002-12-12 Thread John W. Krahn
Sam Harris wrote: > > I am having hard time figuring out why one of my lines is not working: > > system"find . -ctime -1 -exec cp {} > /opt/WWW/web_stats/logs/daily/newfiles \"; > > the error is that : > Unquoted string "opt" may clash with future reserved word at > ./process_web_log_files.pl li

Re: error with external command..

2002-12-12 Thread Sam Harris
The way how it is in my code is on one line, the slash at the end has to be there on unix command line for it to work !!??? so the line is : system"find . -ctime -1 -exec cp {} /opt/WWW/web_stats/logs/daily/newfiles \"; Sam Harris, Internet Services Franklin University 201 S. Grant Avenue Colum

Re: error with external command

2002-12-12 Thread Rob Dixon
n the command string, so that the overall string isn't terminated. Cheers, Rob - Original Message - From: "Sam Harris" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 12, 2002 10:11 AM Subject: error with external command > I am having

Re: error with external command

2002-12-12 Thread Ramprasad A Padmanabhan
Sam Harris wrote: I am having hard time figuring out why one of my lines is not working: system"find . -ctime -1 -exec cp {} /opt/WWW/web_stats/logs/daily/newfiles \"; try system("find .-ctime -1-exec cp{} /opt/WWW/web_stats/logs/daily/newfiles "); on a single line and do not escape the la

error with external command

2002-12-12 Thread Sam Harris
I am having hard time figuring out why one of my lines is not working: system"find . -ctime -1 -exec cp {} /opt/WWW/web_stats/logs/daily/newfiles \"; the error is that : Unquoted string "opt" may clash with future reserved word at ./process_web_log_files.pl line 25. thanks for your help in advan