Subject: | warning on undef value with mutator custom editors |
When (ab)using custom() with an editor that switches the visited node with a new one from under the recursion, sometimes warnings occur on undef values at line 142.
The fix: before the if, after the assignment to $type, insert this line:
return $obj unless $type; # automatic pruning in case of mut(il)ating editor
Will be fixed in 0.04.