Permalink
Browse files

Remove upfront dependency on Device::SerialPort

  • Loading branch information...
1 parent 50bc3ee commit 5412857ff11598930be95c245ef550bd81b3adba @cosimo committed Jul 15, 2012
Showing with 8 additions and 2 deletions.
  1. +4 −0 Changes
  2. +1 −1 lib/Protocol/Modbus.pm
  3. +3 −1 t/000-Protocol-Modbus.t
View
@@ -1,5 +1,9 @@
Revision history for Perl extension Protocol::Modbus.
+0.09 Sun Jul 15 11:34:42 CEST 2012
+ - Removed loading of Serial driver to avoid forced dependency
+ on Device::SerialPort
+
0.08 Sat Jul 14 17:29:51 CEST 2012
- Properly updated the Changes file for 0.07 too.
No other significant change. Perltidied all files.
View
@@ -13,7 +13,7 @@ use Carp;
#------------------------------------------------
# Modbus module version
#------------------------------------------------
-our $VERSION = '0.08';
+our $VERSION = '0.09';
#------------------------------------------------
# Modbus related CONSTANTS
View
@@ -7,7 +7,9 @@ use Protocol::Modbus::Response;
use Protocol::Modbus::TCP;
use Protocol::Modbus::Transaction;
use Protocol::Modbus::Transport;
-use Protocol::Modbus::Transport::Serial;
+## Avoid forced dependency on Device::SerialPort
+## if you don't use it.
+#use Protocol::Modbus::Transport::Serial;
use Protocol::Modbus::Transport::TCP;
ok(1);

0 comments on commit 5412857

Please sign in to comment.