in reply to
Uninitialized variable matches regex
Further to
kennethk
's reply, an undefined scalar is coerced to a zero-length string in string context such as that supplied by a regex match.
Comment on
Re: Uninitialized variable matches regex
In Section
Seekers of Perl Wisdom