From 75b5f804155ccb1af4e0b185e4742e414c61f2d9 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 Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 0cb82c8d02cc4b672b169c8b0261c4bb6360cd00) Signed-off-by: Chris Cormack --- C4/SMS.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/C4/SMS.pm b/C4/SMS.pm index 9b8a24ec9d..1cd67b97e4 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.39.5