in reply to Re: Loop Quandary
in thread Loop Quandary

Nice explanation. Interestingly, adding the empty prototype to the sub definition and removing return changes the behaviour, as Perl optimizes the sub away:
sub InfStr () { 'ababa' }

which is equivalent to

use constant INFSTR => 'ababa';
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ