Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

How do we do break return to the calling code line outside recursive function, when inside recursive, in some nested depth on runtime
  • Comment on Disruptly return to the calling code line outside recursive

Replies are listed 'Best First'.
Re: Disruptly return to the calling code line outside recursive
by jdporter (Paladin) on Dec 23, 2021 at 15:15 UTC

    Throw an exception.

Re: Disruptly return to the calling code line outside recursive (updated)
by LanX (Saint) on Dec 23, 2021 at 19:27 UTC