tmbg has asked for the wisdom of the Perl Monks concerning the following question:
I wrote a sloppy bit of code where I open a serial port and use it to do some basic modem communications.
Everything with it works great, but I can't manage to make it hang up the line. I'm guessing I need to drop DTR, but I'm not sure how I would do that using just a filehandle.
I've seen some complex examples using IO::File, but I'd rather not rewrite what I've got if there's a simple way to do it with what I have.
thanks!
tmbg
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: modem handling in perl
by THRAK (Monk) on Apr 30, 2001 at 19:21 UTC | |
|
Re: modem handling in perl
by Anonymous Monk on Apr 30, 2001 at 19:08 UTC | |
by tmbg (Novice) on Apr 30, 2001 at 20:48 UTC | |
by tye (Sage) on Apr 30, 2001 at 20:54 UTC | |
|
Re: modem handling in perl
by the_slycer (Chaplain) on Apr 30, 2001 at 19:42 UTC |