Subject: | [PATCH] Please fix POD errors |
Date: | Thu, 8 Mar 2012 08:03:45 +0100 |
To: | bug-Device-Gsm [...] rt.cpan.org |
From: | Christoph Biedl <debian.axhn [...] manchmal.in-ulm.de> |
(minor severity)
Hello,
while packaging Device::GSM 1.58 for the Debian Linux distribution I
noticed two pod errors. See the patch below.
Cheers,
Christoph
From: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
Subject: Patch: Fix pod errors
Date: Wed, 7 Mar 2012 22:41:12 +0100
diff --git a/Gsm.pm b/Gsm.pm
index 8e3378b..125d082 100644
--- a/Gsm.pm
+++ b/Gsm.pm
@@ -1306,7 +1306,7 @@ Send out an SMS message quickly:
The allowed parameters to send_sms() are:
-=over -
+=over
=item C<class>
diff --git a/lib/Device/Gsm/Sms.pm b/lib/Device/Gsm/Sms.pm
index 1242bf4..8d9ef95 100644
--- a/lib/Device/Gsm/Sms.pm
+++ b/lib/Device/Gsm/Sms.pm
@@ -241,13 +241,13 @@ sub decode {
my $mti = $token->MTI();
-=cut
- # If MTI has bit 1 on, this could be a SMS-STATUS message (0x02), or (0x03???)
- if( $mti >= SMS_STATUS ) {
- _log('skipping unhandled message type ['.$mti.']');
- return undef;
- }
-=cut
+#=cut
+# # If MTI has bit 1 on, this could be a SMS-STATUS message (0x02), or (0x03???)
+# if( $mti >= SMS_STATUS ) {
+# _log('skipping unhandled message type ['.$mti.']');
+# return undef;
+# }
+#=cut
if( $mti != $type ) {
#_log('token PDUTYPE, data='.$token->data().' MTI='.$token->get('MTI').' ->MTI()='.$token->MTI());
Message body not shown because it is not plain text.