in reply to Global, Local, what the..?

This got me too... a sub will return the last successfully executed statement if there's no explicit return. so if $gne .= "foo"; is the last statement in a sub, it'll return $gne.