in reply to perl and shell
help needede in backticks(``) and system function...... those ought to get you started.