Subject: | look_down() not returning list context reliably |
Date: | Sat, 06 Apr 2013 18:06:32 -0500 |
To: | bug-html-tree [...] rt.cpan.org |
From: | Bozonius <jeanniesyusir [...] gmail.com> |
look_down() is supposed to return a list or scalar depending on
context. The attached proof demonstrates that this does not seem to
happen reliably.
I have not figured out a reliable workaround; in one case, I was able to
change the code to a for loop and that seems to have forced the list
context, but that does not always work.
I do have quite a bit invested in this module, which is turning my
project into a virtual doorstopper.
Please note that the modified version of the module sometimes does
not print the expected context. My script does not seem to cause
this, but I have other scripts where the return value from wantarray
inside look_down does, in fact, return false when it is clearly a list
context. Perhaps you may encounter this at some point, which would
indicate an issue with the interpreter.
Message body is not shown because sender requested not to inline it.
Message body is not shown because sender requested not to inline it.