in reply to Re^2: Perl odditiesin thread Perl oddities
But not if you use /g, as /g acts quite differently in scalar and in list context.