Checking if your kit is complete... Looks good Writing Makefile for Protocol::Modbus cp lib/Protocol/Modbus/Transport/TCP.pm blib/lib/Protocol/Modbus/Transport/TCP.pm cp lib/Protocol/Modbus/Response.pm blib/lib/Protocol/Modbus/Response.pm cp lib/Protocol/Modbus/Transport.pm blib/lib/Protocol/Modbus/Transport.pm cp lib/Protocol/Modbus/Transaction.pm blib/lib/Protocol/Modbus/Transaction.pm cp lib/Protocol/Modbus/Exception.pm blib/lib/Protocol/Modbus/Exception.pm cp lib/Protocol/Modbus.pm blib/lib/Protocol/Modbus.pm cp lib/Protocol/Modbus/Request.pm blib/lib/Protocol/Modbus/Request.pm cp lib/Protocol/Modbus/Transport/Serial.pm blib/lib/Protocol/Modbus/Transport/Serial.pm cp lib/Protocol/Modbus/TCP.pm blib/lib/Protocol/Modbus/TCP.pm Manifying blib/man3/Protocol::Modbus.3 Manifying blib/man3/Protocol::Modbus::Transport.3 Manifying blib/man3/Protocol::Modbus::Transaction.3 PERL_DL_NONLAZY=1 /Users/cpanrun/build/5.8.8/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/000-Protocol-Modbus....1..1 # Running under perl version 5.008008 for darwin # Current time local: Mon Feb 19 14:43:57 2007 # Current time GMT: Mon Feb 19 22:43:57 2007 # Using Test.pm version 1.25 ok 1 ok t/010-Requests...........1..27 ok 1 - use Protocol::Modbus; ok 2 - use Protocol::Modbus::Request; ok 3 - generic protocol object loaded ok 4 - Request 0x01 (read coils) results in a valid request object ok 5 - Read coils request binary PDU correct ok 6 - Request 0x01 (read coils) converted to string ok 7 - Request 0x01 (read coils) results in a valid request object ok 8 - Read coils request binary PDU correct ok 9 - Request 0x01 (read coils) converted to string ok 10 - Two modes requests are identical ok 11 - Two modes requests are identical (deeply) ok 12 - Request 0x03 (read hold registers) results in a valid request object ok 13 - Request binary PDU correct ok 14 - Request 0x03 (read hold registers) converted to string ok 15 - Request 0x03 (read hold registers) results in a valid request object ok 16 - Request binary PDU correct ok 17 - Request 0x03 (read hold registers) converted to string ok 18 - Two modes requests are identical ok 19 - Two modes requests are identical (deeply) ok 20 - Request 0x05 (write coil) results in a valid request object ok 21 - Request binary PDU correct ok 22 - Request 0x05 (write coil) converted to string ok 23 - Request 0x05 (write coil) results in a valid request object ok 24 - Request binary PDU correct ok 25 - Request 0x05 (write coil) converted to string ok 26 - Two modes requests are identical ok 27 - Two modes requests are identical (deeply) ok t/015-Responses..........1..3 ok 1 - use Protocol::Modbus; ok 2 - use Protocol::Modbus::Response; ok 3 - generic protocol object loaded ok t/020-TcpIp..............1..28 ok 1 - use Protocol::Modbus; ok 2 - use Protocol::Modbus::TCP; ok 3 - generic protocol object loaded ok 4 - Modbus/TCP protocol object loaded ok 5 - Request 0x01 (read coils) results in a valid request object ok 6 - Read coils request binary PDU correct ok 7 - Request 0x01 (read coils) converted to string ok 8 - overloading works ok 9 - Request 0x01 (read coils) results in a valid request object ok 10 - Read coils request binary PDU correct ok 11 - Request 0x01 (read coils) converted to string ok 12 - overloading works ok 13 - Request 0x03 (read hold registers) results in a valid request object ok 14 - Request binary PDU correct ok 15 - Request 0x03 (read hold registers) converted to string ok 16 - overloading works ok 17 - Request 0x03 (read hold registers) results in a valid request object ok 18 - Request binary PDU correct ok 19 - Request 0x03 (read hold registers) converted to string ok 20 - overloading works ok 21 - Request 0x05 (write coil) results in a valid request object ok 22 - Request binary PDU correct ok 23 - Request 0x05 (write coil) converted to string ok 24 - overloading works ok 25 - Request 0x06 (write register) results in a valid request object ok 26 - Request binary PDU correct ok 27 - Request 0x06 (write register) converted to string ok 28 - overloading works ok t/030-Exceptions.........1..6 ok 1 - use Protocol::Modbus; ok 2 - use Protocol::Modbus::Exception; ok 3 - generic protocol object loaded ok 4 - request method returned something # Exception object: Modbus Exception (func=5, code=3) ok 5 - erroneous request without "value" returned an exception ok 6 - Exception code should be ILLEGAL_DATA_VALUE ok All tests successful. Files=5, Tests=65, 0 wallclock secs ( 0.28 cusr + 0.09 csys = 0.37 CPU) Installing /Users/cpanrun/build/5.8.8/html/site/lib/Protocol/Modbus.html Installing /Users/cpanrun/build/5.8.8/html/site/lib/Protocol/Modbus/Transaction.html Installing /Users/cpanrun/build/5.8.8/html/site/lib/Protocol/Modbus/Transport.html Installing /Users/cpanrun/build/5.8.8/lib/site_perl/5.8.8/Protocol/Modbus.pm Installing /Users/cpanrun/build/5.8.8/lib/site_perl/5.8.8/Protocol/Modbus/Exception.pm Installing /Users/cpanrun/build/5.8.8/lib/site_perl/5.8.8/Protocol/Modbus/Request.pm Installing /Users/cpanrun/build/5.8.8/lib/site_perl/5.8.8/Protocol/Modbus/Response.pm Installing /Users/cpanrun/build/5.8.8/lib/site_perl/5.8.8/Protocol/Modbus/TCP.pm Installing /Users/cpanrun/build/5.8.8/lib/site_perl/5.8.8/Protocol/Modbus/Transaction.pm Installing /Users/cpanrun/build/5.8.8/lib/site_perl/5.8.8/Protocol/Modbus/Transport.pm Installing /Users/cpanrun/build/5.8.8/lib/site_perl/5.8.8/Protocol/Modbus/Transport/Serial.pm Installing /Users/cpanrun/build/5.8.8/lib/site_perl/5.8.8/Protocol/Modbus/Transport/TCP.pm Installing /Users/cpanrun/build/5.8.8/man/man3/Protocol::Modbus.3 Installing /Users/cpanrun/build/5.8.8/man/man3/Protocol::Modbus::Transaction.3 Installing /Users/cpanrun/build/5.8.8/man/man3/Protocol::Modbus::Transport.3 Appending installation info to /Users/cpanrun/build/5.8.8/lib/5.8.8/darwin-thread-multi-2level/perllocal.pod