Skip Menu |

This queue is for tickets about the Tie-Judy CPAN distribution.

Report information
The Basics
Id: 42052
Status: resolved
Priority: 0/
Queue: Tie-Judy

People
Owner: Nobody in particular
Requestors: paul [...] paulgraydon.co.uk
Cc:
AdminCc:

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



Subject: Carp::croak
Date: Tue, 30 Dec 2008 16:40:07 -1000
To: bug-Tie-Judy [...] rt.cpan.org
From: Paul Graydon <paul [...] paulgraydon.co.uk>
As far as I can tell, Carp::croak doesn't work in perl 5.10. See line 57 of Judy.pm: String found where operator expected at /usr/local/lib/perl/5.10.0/Tie/Judy.pm line 57, near "Carp::cro ak "Usage: \$tied->insert(HASHREF) or \$tied->insert(KEY, VALUE, ...)\n"" (Do you need to predeclare Carp::croak?) syntax error at /usr/local/lib/perl/5.10.0/Tie/Judy.pm line 57, near "Carp::croak "Usage: \$tied->inser t(HASHREF) or \$tied->insert(KEY, VALUE, ...)\n"" inserting "Use carp;" to the start of the file seems to allow the module to run.
I chose to solve the problem in a different way -- the XS interface now accepts hash refs and array refs directly for insert, and array refs directly for retrieve and delete. So the offending code in Tie/Judy.pm no longer exists.