Rick SMS'd from the Bahamas: >> [ most of table elided ] >> Any Any undef (with fatalizable warning) > > I agree, including with the spirit of this one quoted line, although it > should be "false" and not "undef." :-) I was actually hoping that all the other cases would return the standard "" on failure, and that this final case would (uniquely) be defined to explicitly return undef. That way, you could easily check whether a given smartmatch failed meaningfully, or whether (as it were) smartmatching itself failed: my $matched = $x ~~ $y // die "Couldn't smartmatch $a against $b"; Or maybe even: use autodie '~~'; my $matched = $x ~~ $y; Just a thought, DamianThread Previous | Thread Next