in reply to dot(.) metacharacter in single line modifier mode

Sorry for troubling you monks. I figured out the answer for my stupid question. I need to read the file in the paragraph mode to get the desired result.

I tried the following and it is working as expected.

perl -00 -ne 'use v5.10; say $& if (/kid.He/s);' temp kid He
Thanks!