in reply to Unexepected regex match return behaviour

Ah, yes, another week on PerlMonks.

Update: Please read this classic article by japhy on Lists, Arrays, and Context.
(PodMaster++ for this excellent tip.)

jdporter
Porter's First Law of PerlMonks:
Someone will ask this question at least once a week.