Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old January 3rd 04, 05:42 PM
Kevin in Chicago
 
Posts: n/a
Default Modifying the THD7.pm Perl module to work on Windows

Hello all,

I am attempting to port the THD7.pm module (see
http://fastolfe.net/ham/THD7.pm.html) for the Kenwood TH-D7A/G radio
to Windows. It was first developed on Linux. For the most port, it is
platform independent with the exception of serial port handling.

I have modified the new subroutine to include the following code:

require Win32::SerialPort;
$self-{_win32} = tie($self-{_fd}, 'Win32::SerialPort', 'COM7');

When I test the module from a seperate script I receive the following
error:

Can't locate object method "TIESCALAR" via package "Win32::SerialPort"
at C:/Perl/site/lib/THD7.pm line 180.

I'm not a Perl programming expert and I am hoping there is someone who
is willing to work me with me on this porting effort. Upon completion,
we could submit the revised module back to the Perl/Ham Radio
community.
Thanks!

KB8VME in Chicago
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:58 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 RadioBanter.
The comments are property of their posters.
 

About Us

"It's about Radio"

 

Copyright © 2017