From: Chris 'BinGOs' Williams Date: Sat, 9 Feb 2013 20:22:14 +0000 (+0000) Subject: Make corelist --feature a >= v5.9.5 option X-Git-Tag: upstream/5.20.0~4052 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8164809606597b527e95079a78bf7732d670dd09;p=platform%2Fupstream%2Fperl.git Make corelist --feature a >= v5.9.5 option --- diff --git a/dist/Module-CoreList/corelist b/dist/Module-CoreList/corelist index 36b74c2..5cd2f8c 100644 --- a/dist/Module-CoreList/corelist +++ b/dist/Module-CoreList/corelist @@ -221,6 +221,9 @@ if ($Opts{diff}) { } if ($Opts{feature}) { + die "\n--feature is only available with perl v5.9.5 or greater\n" + if $] < 5.009005; + die "\nprovide at least one feature name to --feature\n" unless @ARGV;