From 8e2acb41bf8ef68f94fb95878f201296465c82b4 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Mon, 10 Aug 2009 13:45:04 -0700 Subject: [PATCH 1/1] * allow version_url to accept arrayref as well as scalar --- Debbugs/CGI.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Debbugs/CGI.pm b/Debbugs/CGI.pm index 9d96ed9..53f0b5d 100644 --- a/Debbugs/CGI.pm +++ b/Debbugs/CGI.pm @@ -196,7 +196,7 @@ width and height are passed. sub version_url{ my %params = validate_with(params => \@_, - spec => {package => {type => SCALAR, + spec => {package => {type => SCALAR|ARRAYREF, }, found => {type => ARRAYREF, default => [], -- 2.39.2