By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,302 Members | 1,760 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,302 IT Pros & Developers. It's quick & easy.

Perl Question

P: n/a
Tom
How do i run a batch file from a perl script?

thanks in advance

Tom
Jul 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Tom wrote:
How do i run a batch file from a perl script?


Your question is a bit unclear. What do you mean by "batch file"?
A regularly scheduled job? In that case you should look into the scheduler
that comes with your OS, e.g. cron (on Unix) or at (on Windows).
Or are you simply asking how to call another program from a Perl script?
Then look into e.g. system() or qx() (same as backticks) or even open() with
a pipe.
Or does calling other programs work fine but you have some specific problem
calling a batch script? In that case please be more specific about the
problem you encounter.

jue
Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.