in reply to Unnesting deeply nested HTML elements (Deep recursion on subroutine "HTML::Element::delete")

https://perlmaven.com/deep-recursion-on-subroutine may be more than you wanted to know, but may give some good context.

Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond
  • Comment on Re: Unnesting deeply nested HTML elements (Deep recursion on subroutine "HTML::Element::delete")

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:27 UTC

    Thanks. I had seen that and with your encouragement figured out how to read the added output from adding -d:Confess to the shebang.

    #!/usr/bin/perl -d:Confess

    In that way I can at least see which line in my script the problem comes from. That in turn helps figure out which data is at fault.