Perl Question

Discussion in 'Perl' started by Tom, Aug 24, 2004.

  1. Tom

    Tom Guest

    How do i run a batch file from a perl script?

    thanks in advance

    Tom
    Tom, Aug 24, 2004
    #1
    1. Advertising

  2. 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
    Jürgen Exner, Aug 25, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. dpackwood
    Replies:
    3
    Views:
    1,785
  2. PerlFAQ Server

    FAQ 1.4 What are Perl 4, Perl 5, or Perl 6?

    PerlFAQ Server, Jan 23, 2011, in forum: Perl Misc
    Replies:
    0
    Views:
    295
    PerlFAQ Server
    Jan 23, 2011
  3. PerlFAQ Server
    Replies:
    0
    Views:
    674
    PerlFAQ Server
    Feb 3, 2011
  4. PerlFAQ Server

    FAQ 1.4 What are Perl 4, Perl 5, or Perl 6?

    PerlFAQ Server, Feb 27, 2011, in forum: Perl Misc
    Replies:
    0
    Views:
    290
    PerlFAQ Server
    Feb 27, 2011
  5. PerlFAQ Server
    Replies:
    0
    Views:
    677
    PerlFAQ Server
    Apr 4, 2011
Loading...

Share This Page