View Single Post
  #1   Report Post  
Old January 3rd 04, 04: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