Subject: | PPI::Node->find() behavior not completely documented |
Adam-
I was stumped by a bug in Perl::Critic when I found this in the PPI::Node source:
420: #Support "don't descend on undef return"
421: next unless defined $rv;
It makes perfect sense, but I didn't expect it. IMHO, this probably deserves a little further explanation in the docs.
-Jeff