Skip Menu |

This queue is for tickets about the B-Keywords CPAN distribution.

Report information
The Basics
Id: 131164
Status: resolved
Worked: 5 min
Priority: 0/
Queue: B-Keywords

People
Owner: RURBAN [...] cpan.org
Requestors: jkeenan [...] cpan.org
Cc: carlos [...] carlosguevara.com
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.20
Fixed in: (no value)



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(
Fixed with 1.21 -- Reini Urban