home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / perl / 5366 < prev    next >
Encoding:
Text File  |  1992-08-18  |  1.2 KB  |  30 lines

  1. Newsgroups: comp.lang.perl
  2. Path: sparky!uunet!ftpbox!mothost!merlin.dev.cdx.mot.com!fendahl.dev.cdx.mot.com!mcook
  3. From: mcook@fendahl.dev.cdx.mot.com (Michael Cook)
  4. Subject: Re: perl for MSDOS communication tasks
  5. Message-ID: <mcook.714162090@fendahl.dev.cdx.mot.com>
  6. Sender: news@merlin.dev.cdx.mot.com (USENET News System)
  7. Nntp-Posting-Host: fendahl.dev.cdx.mot.com
  8. Organization: Motorola Codex, Canton, Massachusetts
  9. References: <1992Aug18.131934.9279@ccu.umanitoba.ca>
  10. Date: Tue, 18 Aug 1992 18:21:30 GMT
  11. Lines: 17
  12.  
  13. vspicer@ccu.umanitoba.ca writes:
  14.  
  15. >i know this sounds seriously warped, but has anyone used perl to do
  16. >communication-port oriented tasks on MSDOS? since you can treat COM1:
  17. >and COM2: as files, and do single character file IO, it should be possible
  18. >to have a perl script doing automated communication processes like
  19. >being a front end for a UUCP hookup, doing automated online sessions etc...
  20.  
  21. >anyone tried any of this?
  22.  
  23. MSDOS services the COM ports by polling them, not by setting up an interrupt
  24. service routine for them.  So you should expect to lose data.
  25.  
  26. >------
  27. >vic spicer, recent PERL convert/ data systems,instrument electronics and
  28. >software person with the Time of Flight Mass Spec. Lab
  29. >at the University of Manitoba Dept. of Physics
  30.