Subject: | typo in docs for isempty |
under the docs for isempty, there is this example:
Show quoted text
perldl> $a=sequence(10)
perldl> $i=which($a < -1)
perldl> print "I found no matches!\n" if ($a->isempty);
on the third line, the isempty call should be to $i, not $a. this shows
that there were no matches from which() as was apparently intended.
print "I found no matches!\n" if ($i->isempty);