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.)