If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Perl and the DBI > Calling a program using a Perl script?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-02-06, 09:53
merlingt1 merlingt1 is offline
Registered User
 
Join Date: Jun 2006
Posts: 1
Calling a program using a Perl script?

Hi all,

This is a really noobie question but here goes. I have a Unix program that I need to automate meaning run multiple times hands off. The program has 3 command prompts (inputs) where I have to type: "no", input filename, and output filename. Is there a way I can do this automatically with Perl?

Many thanks,
~Irian
Reply With Quote
  #2 (permalink)  
Old 06-02-06, 19:13
KevinADC KevinADC is offline
Registered User
 
Join Date: Feb 2006
Posts: 56
sorry I posted in wrong thread

Last edited by KevinADC; 06-02-06 at 19:14. Reason: posted in wrong thread
Reply With Quote
  #3 (permalink)  
Old 06-02-06, 19:16
KevinADC KevinADC is offline
Registered User
 
Join Date: Feb 2006
Posts: 56
perl can't run your program automatically, at least not in the way you are thinking, you would use a cron tab to run your program.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On