John Porter wrote:
> Mark Dominus <[EMAIL PROTECTED]>:
> >
> > This behavior should be changed. If the PATTERN is empty, Perl should
> > look for the empty string. (That is, if the PATTERN is empty, it
> > should always match.)
>
> Except perhaps for undef loperands? (matchees? bindees?)
What did you think of this, M-J? I didn't see any mention of it
in the RFC.
Iow:
undef $x;
if ( $x =~ // ) {
print "This should not have happened.\n";
}
Can't the definedness of the bindee be tested before stringization?
--
John Porter