in reply to Re^2: looking for a good idiom: return this if this is true
in thread looking for a good idiom: return this if this is true

It returns the equivalent of an empty list, which in a scalar context, is undef.
my $x = ();
Sets $x to undef.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.