in reply to Re^3: Weird syntax. What does this goto statement do? ( 'goto &NAME' use cases)
in thread Weird syntax. What does this goto statement do?

Yep that's a case of wrapping a function call which inspects the call chain.

😊👍🏼

I did similar things too but with carp routines or recently with a self made logger.

Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery

  • Comment on Re^4: Weird syntax. What does this goto statement do? ( 'goto &NAME' use cases)