From 8f9db880ee6d1d8f1f0d4c47a067e77a1c7f55e4 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: Mason James --- C4/SMS.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/C4/SMS.pm b/C4/SMS.pm index 34cce27f61..4ab94b2a28 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