Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Dear Mighty MOnks, I need to call and external program in .exe file, I try to using the perl script to do some checking the only call this external exe program. What command I should use to execute this program. Using system? But the program is in a folder c:\Blat. And the command to execute the is have to be in the that directory, e.g c:\Blat\Blat test.txt -s "subject" -t aa@aa.com can the system command test on this long command, or is that anyway other to execute this command. Thank you. Ernest

Replies are listed 'Best First'.
Re: How to call external command
by Mr. Muskrat (Canon) on Aug 22, 2002 at 03:49 UTC
    Perhaps a search would have been in order before posting?
    Anyway, there have been several posts concerning Blat
    <update>but the one you would probably be most interested in is blat problems. It shows one way to do it.</update>
    Oh, and perhaps check out send mail as well for different way of sending mail.