in reply to Unnesting deeply nested HTML elements (Deep recursion on subroutine "HTML::Element::delete")
calling the delete method?
Perhaps you don't need to? Based on line numbers in diagnostic messages, you have modern HTML::Element, which made calling delete superfluous. Maybe just check that's the case with "use HTML::TreeBuilder::XPath -weak;" once, to be sure, but new behaviour is default w/o explicit import.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Unnesting deeply nested HTML elements (Deep recursion on subroutine "HTML::Element::delete")
by mldvx4 (Hermit) on Sep 20, 2022 at 02:16 UTC | |
by bliako (Abbot) on Sep 20, 2022 at 08:21 UTC |