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.