command line program control

2001-08-20 Thread C.Ouellette

I have a command line program running on Windows NT
that I call up from a dos prompt. This program is
written in C and has a simple menu structure.  I would
like to use Perl to control this program, by putting
in the menu options and values in a particular order.

For example:

Main Menu:
1) Option 1
2) Option 2
3) Option 3
 

I would like a perl script that gave the program a
'1', and then whatever values it needs from there.  I
can store the values, and menu options in a data file,
but I'm not quite sure how to use perl to control this
program and give it the values.

I don't think the system command would work. I am
somewhat famliar with TCL expect which I've used with
telnet.  Is there something similar in Perl? 

I would appreciate any advice.  I am looking for a
starting point.

Thank you,

Tina Ouellette

__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Windows Background Process

2001-06-27 Thread C.Ouellette

Hello,

I need to start an external program from my perl
script.  This program will need to run in the
background so my script can continue doing other
things.  It also still needs to notify the program
when it terminates.

I would appreciate any help on how I would do this. 
My environment is Windows NT 4.0, with Activestate
perl 5.6.1.  I'm also not sure how Windows runs a
background process, so any tips there would be
appreciated.

Lastly, I've been monitoring this list for a few weeks
now. It has been extremely helpful in getting me
started with Perl. Thank you to everyone involved.

Tina Ouellette

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



Using C code with perl

2001-05-31 Thread C.Ouellette

I need to be able to write a a perl script to either
include or use previously written C programs and
API's.

There are a few modules out there to do that.  I am
looking into using either SWIG or Inline.  I'm not
sure which one would be the best one to use.  

Advice on this topic would be appreciated.

Thank you,

Tina

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/



Re: Using C code with perl

2001-05-31 Thread C.Ouellette

Thank you for the previous information.

I believe I should have added that I am currently in a
Windows NT environment.  

So I guess the follow-up question would be which of
the two (XS  Inline) work better under Windows. 

XS does not specify if it works under Windows. Inline
does, but I have not tried to compile it yet.

Thank you,

Tina

--- C.Ouellette [EMAIL PROTECTED] wrote:
 I need to be able to write a a perl script to either
 include or use previously written C programs and
 API's.
 
 There are a few modules out there to do that.  I am
 looking into using either SWIG or Inline.  I'm not
 sure which one would be the best one to use.  
 
 Advice on this topic would be appreciated.
 
 Thank you,
 
 Tina
 
 __
 Do You Yahoo!?
 Get personalized email addresses from Yahoo! Mail -
 only $35 
 a year!  http://personal.mail.yahoo.com/


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/