From 3ad795aaac4b550609460049af5b5ed484a9880b Mon Sep 17 00:00:00 2001 From: Jason Etheridge Date: Tue, 6 Aug 2013 15:58:49 -0400 Subject: [PATCH] return empty array instead of empty array ref Though the empty array ref doesn't appear to break anything, an empty array is more correct Signed-off-by: Jason Etheridge --- src/perl/lib/OpenSRF/DomainObject/oilsMethod.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/perl/lib/OpenSRF/DomainObject/oilsMethod.pm b/src/perl/lib/OpenSRF/DomainObject/oilsMethod.pm index fad2efa..c7d8c12 100644 --- a/src/perl/lib/OpenSRF/DomainObject/oilsMethod.pm +++ b/src/perl/lib/OpenSRF/DomainObject/oilsMethod.pm @@ -94,7 +94,7 @@ sub params { if ($self->{params}) { return @{ $self->{params} }; } else { - return []; + return (); } } -- 2.11.0