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

I have send commands to a modem on a NT box with perl.
Just simple ATDT stuff. Would anyone know how I would
do that?.

Thanks ahead of time,
Storm

Replies are listed 'Best First'.
(jcwren) Re: Modems and NT
by jcwren (Prior) on Jul 06, 2000 at 00:05 UTC
    Check out the Win32::SerialPort module. This module will allow you to easily manipulate serial ports. I've used it extensively to communicate with modems, weather stations, and other custom serial-based hardware. It also very closely emulates the Device::SerialPort module, so if you ever find yourself in the position of using Unix, your code will be very portable (there are some minor, and usually insignifcant, differences).

    Rather than post sample code on how to manipulate the port, e-mail me at jcwren@jcwren.com, and I'll be happy to forward you some examples.

    --Chris
Re: Modems and NT
by lhoward (Vicar) on Jul 06, 2000 at 00:02 UTC
    Try the Win32::SerialPort module. I'm not sure if this will work if you have a winmodem.