in reply to Running a Command Line from your Program

try system or backticks. They block until the called program completes. Backtick (which are ` as opposed to ') return a string of what was sent to STDOUT by the program. Try $bin = `ls /usr/bin`; to test it out.

BTW. $? holds any error if the called program fails.

Ira,

"So... What do all these little arrows mean?"
~unknown