in reply to Do yourself a favor and upgrade (Bug in 5.8.0)

You can use [perlfunc://redo] here instead of goto. Simply change the block in the stuff following retry and then change the goto to a redo:

retry:{ #.... redo retry if $needs_retry; }
---
demerphq