RadioBanter

RadioBanter (https://www.radiobanter.com/)
-   General (https://www.radiobanter.com/general/)
-   -   Modifying the THD7.pm Perl module to work on Windows (https://www.radiobanter.com/general/25411-modifying-thd7-pm-perl-module-work-windows.html)

Kevin in Chicago January 3rd 04 04:42 PM

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


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
RadioBanter.com