Skip Menu |

This queue is for tickets about the Set-IntSpan-Fast-XS CPAN distribution.

Report information
The Basics
Id: 42447
Status: resolved
Priority: 0/
Queue: Set-IntSpan-Fast-XS

People
Owner: Nobody in particular
Requestors: user42 [...] zip.com.au
Cc:
AdminCc:

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



Subject: error from remove() method
Date: Fri, 16 Jan 2009 08:03:23 +1100
To: bug-Set-IntSpan-Fast-XS [...] rt.cpan.org
From: Kevin Ryde <user42 [...] zip.com.au>
With Set-IntSpan-Fast 1.15 and Set-IntSpan-Fast-XS 0.04 both installed on a recent debian i386 perl 5.10.0, the program use strict; use warnings; use Set::IntSpan::Fast; my $set = Set::IntSpan::Fast->new; $set->remove (123); gets an error Can't use string ("123") as an ARRAY ref while "strict refs" in use at /usr/lib/perl5/Set/IntSpan/Fast/XS.pm line 45. I wonder if _list_to_ranges in the PP takes list args but in the XS takes an arrayref. (But I found it tricky to tell which bits of which one run.)
Thanks - your diagnosis was exactly right. Fixed in r4478.