Is there a way I can have direct X10 control with a simple perl script?
If all you want to do is control X10 devices with a cron job or from your own cgi scripts, running mh is probably overkill. You can send X10 commands using either the ActiveHome interface (CM11, available from http://www.x10.com/automation/x10_ck11a_d.htm ) or the cheaper Firecracker interface (CM17, available from http://www.x10.com/automation/firecracker_d.htm ) using the modules and documentation found in mh/lib/site/ControlX10 or download them from CPAN. Examples can be found in mh/lib/site/test_cm11.pl and test_cm17.pl.