Subject: | [PATCH] B::Keywords does not compile with bleadperl |
The addition of the UNITCHECK function causes bleadperl to fail. Since
UNITCHECK was added after 5.9.4, the following patch gets the tests to
pass again.
--- lib/B/Keywords.pm.old 2006-11-23 21:55:38.000000000 -0600
+++ lib/B/Keywords.pm 2006-11-23 21:58:52.000000000 -0600
@@ -325,6 +325,10 @@
-M -A -C
);
+if ($] > 5.009004) {
+ push @Functions, "UNITCHECK";
+}
+
use vars '@Barewords';
@Barewords = qw(
__FILE__