in reply to Calling files in sub
Just in case: I'm not entirely sure of what you're asking, but if you want to execute an external file (program, script or whatever), use system().
I think blackjudas has probably already answered this, though.