in reply to Re: Is there an andand for Perl like there is in Ruby?
in thread Is there an andand for Perl like there is in Ruby?
I've just written Scalar::Andand, using a similar approach. It handles undefined cases, though that may be buggy in a lot of cases. Check your local CPAN mirror soon.