From 897978bbf9bc1f7c1234b46bbe49cfdb670d5758 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Thu, 18 May 2017 14:59:17 +0200 Subject: [PATCH] TT#16321 Fix perlcritic errors Change-Id: I57eee209b9824c0af5a7c2ab5fc7ac8af8755244 --- vmsmsnotify | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vmsmsnotify b/vmsmsnotify index 60bc75d..b582c4b 100755 --- a/vmsmsnotify +++ b/vmsmsnotify @@ -1,5 +1,7 @@ #!/usr/bin/perl -w + use strict; +use warnings; use English; use Readonly; @@ -60,7 +62,7 @@ EOF $from, $dest, $mailbox, $caller, $duration, $date, $body; eval { - my $client = new NGCP::API::Client; + my $client = NGCP::API::Client->new(); my $res = $client->request('GET', "/api/subscribers/?alias=$mailbox"); unless($res->is_success) {