Subject: | CGI::Wiki::Search::DBIxFTS search_nodes pod flub |
The pod for search_nodes gives the following example
# Find all the nodes which contain any one of the form-supplied
# search terms.
%results = $search->search_nodes($q->param('terms'), 'OR');
Which would confuse anybody who's used CGI.pm, since param
is context sensitive (I had to go source-diving)
perl -MCGI=param -e die(param(1),2) 1=a 1=b 1=c
That example should be modified to say
%results = $search->search_nodes(scalar $q->param('terms'), 'OR');