I think Perl 6 should have a "but" keyword, as in:

if (defined $foo but $foo eq "") {

}

:-)

Reply via email to