in reply to Re: Reference and $_ weirdness
in thread Reference and $_ weirdness

Thank you for the clear answer.

Indeed the $_ variable was not localized in the specific functions.

Will check the rest of the application for this bug too.