Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Accessing serial ports

Accessing serial ports

Accessing serial ports

Dear all

I want to write a simple paging app (without the baggage of other apps out there).

Simply I want to open a serial port (connected to a modem) and run at commands against it.

Problem is I don't know how to access the serial ports. I need to do this both on Unix and NT,


RE: Accessing serial ports

There's also a Device::SerialPort module, described as "POSIX clone of Win32::SerialPort". So that covers Unix. And to go with this you've got the actual Win32::SerialPort module (which may be included in the standard Win32 perl distribution. If not, it's on CPAN for sure.)

So, it's probably gonna be a case of checking which OS you're running on and then 'use'ing the correct module for your platform.

Not got any actual experience of using either of these, but they sound like they should fit your requirements.


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close