From 6d3e194727ae03d1bf8c58c6e769b10a4a6a4a61 Mon Sep 17 00:00:00 2001 From: Eivin Giske Skaaren Date: Fri, 19 Jun 2015 13:08:29 +0200 Subject: [PATCH] Bug 14421: Corrected example in SMS.pm to working version with hashref. Signed-off-by: Bernardo Gonzalez Kriegel Test: 1) Apply patch 2) perldoc C4/SMS.pm 3) Check fixed argument in example Argument is hashref, POD is now right Added additional space on second arg No errors Signed-off-by: Jonathan Druart --- C4/SMS.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/C4/SMS.pm b/C4/SMS.pm index 9b8a24e..1cd67b9 100644 --- a/C4/SMS.pm +++ b/C4/SMS.pm @@ -23,8 +23,8 @@ C4::SMS - send SMS messages =head1 SYNOPSIS -my $success = C4::SMS->send_sms( message => 'This is my text message', - destination => '212-555-1212' ); +my $success = C4::SMS->send_sms({ message => 'This is my text message', + destination => '212-555-1212' }); =head1 DESCRIPTION -- 2.1.0