From 634c11085639aa80caf6e546bd916b5c4f6e89ee Mon Sep 17 00:00:00 2001 From: Angelo Naselli Date: Sun, 12 Oct 2014 00:05:19 +0200 Subject: Shared is not a class atm --- lib/AdminPanel/Shared.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/AdminPanel/Shared.pm b/lib/AdminPanel/Shared.pm index 5103997..9fb4999 100644 --- a/lib/AdminPanel/Shared.pm +++ b/lib/AdminPanel/Shared.pm @@ -223,7 +223,6 @@ sub trim { =head3 INPUT - $self: this object $item: item to search $arr: array container @@ -239,7 +238,7 @@ This method returns if an item is into the array container #============================================================= sub inArray { - my ($self, $item, $arr) = @_; + my ($item, $arr) = @_; return grep( /^$item$/, @{$arr} ); } -- cgit v1.2.1