CC: | carlos [...] carlosguevara.com |
Subject: | Update B::Keywords to reflect new 'isa' keyword in 5.31.7 |
A new keyword has been added to Perl 5 blead here:
#####
commit 813e85a03dc214f719dc8248bda36156897b0757
Author: Paul "LeoNerd" Evans <leonerd@leonerd.org.uk>
AuthorDate: Wed Oct 23 14:00:38 2019
Commit: Paul "LeoNerd" Evans <leonerd@leonerd.org.uk>
CommitDate: Mon Dec 9 18:19:05 2019
Add the `isa` operator
...
#####
This will need to be added to lib/B/Keywords.pm.
Reference: https://github.com/Perl/perl5/issues/17357
The patch attached worked for me.
Thank you very much.
Jim Keenan
Subject: | keyword.isa.5.31.7.diff |
--- lib/B/Keywords.pm.1.20 2019-12-10 15:40:54.500226625 -0500
+++ lib/B/Keywords.pm 2019-12-10 15:52:41.241545086 -0500
@@ -124,6 +124,9 @@
use vars '@Functions';
@Functions = (
+ ($] >= 5.031007 ? qw(
+ isa
+ ) : ()),
($] >= 5.015006 ? qw(
__SUB__
) : ()), qw(