From: Chris Nehren Date: Tue, 12 Feb 2013 17:01:14 +0000 (-0500) Subject: Remove prototype causing warnings X-Git-Tag: 1.008008~6 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=48eb676f6d8ba5368b35eb06f4d96a16b7942ec3;p=p5sagit%2Flocal-lib.git Remove prototype causing warnings ... also it's a prototype. --- diff --git a/lib/local/lib.pm b/lib/local/lib.pm index 996cd6b..62ed1cf 100644 --- a/lib/local/lib.pm +++ b/lib/local/lib.pm @@ -375,7 +375,7 @@ my %ENV_LIST_VALUE_DEFAULTS = ( filter => sub { 1 }, empty => undef, ); -sub _env_list_value(%@) { +sub _env_list_value { my $options = shift; die(sprintf "unknown option '$_' at %s line %u\n", (caller)[1..2]) for grep { !exists $ENV_LIST_VALUE_DEFAULTS{$_} } keys %$options;