Posted on 2009-09-09 05:33:50-07 by firstexperimenter
Okay, let's get this started...
Trying to install the X10::Home module, (.04) and use the simple sample code to verify it's working +. Home PC running Fedora, Perl 5.8.8. I'm a sudoer with ALL privs, so all dependencies were verified + or installed running cpan under sudo. ControlX10::CM11 YAML ControlX10::CM17 Device::SerialPort DB_File Log::Log4perl simple code: (lampon.pl in my home dir) #!/usr/bin/perl use X10::Home; my $x10 = X10::Home->new(); $x10->send("lamp", "on"); executed returned this: $ perl lampon.pl Can't call method "baudrate" on an undefined value at /usr/lib/perl5/site_perl/5.8.8/X10/Home.pm li +ne 82. I obviously missed something, and no doubt it's obvious. Can anybody chime in?
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.