Skip Menu |

This queue is for tickets about the Search-Indexer CPAN distribution.

Report information
The Basics
Id: 91157
Status: resolved
Priority: 0/
Queue: Search-Indexer

People
Owner: Nobody in particular
Requestors: cpan [...] zoffix.com
Cc:
AdminCc:

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



Subject: Typo in Synopsis Code
Hey, In Synopsis the code is dereferecing a hashref, but it's using the syntax for arrayref. my @docIds = keys @{$result->{scores}}; should be my @docIds = keys %{$result->{scores}};
Le Mar 03 Déc 2013 15:27:51, ZOFFIX a écrit : Show quoted text
> Hey, > > In Synopsis the code is dereferecing a hashref, but it's using the > syntax for arrayref. > my @docIds = keys @{$result->{scores}}; > should be > my @docIds = keys %{$result->{scores}};
That's right, thanks. Fixed in Git repo https://github.com/damil/Search-Indexer. Not worth a release, though, so it will get published on CPAN whenever there is enough new content to justify a release. Thanks also for your cpanratings report :-)