From 03040b1ea7344bbf59ae3d92855a615cf10a8da3 Mon Sep 17 00:00:00 2001 From: Andreas Granig Date: Mon, 13 Jan 2014 13:59:18 +0100 Subject: [PATCH] MT#5615 Don't require uri param. This breaks on Debian Squeeze, although it works with newer Moose (?) versions. --- lib/Data/HAL/URI.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Data/HAL/URI.pm b/lib/Data/HAL/URI.pm index e840e2e..ce17cc8 100644 --- a/lib/Data/HAL/URI.pm +++ b/lib/Data/HAL/URI.pm @@ -20,7 +20,8 @@ has( handles => [qw(abs as_iri canonical clone eq fragment implementor new_abs opaque path rel scheme secure STORABLE_freeze STORABLE_thaw)], lazy => 1, - required => 1, + # MT#5615 setting required=>1 breaks on Debian Squeeze + required => 0, ); sub BUILDARGS {