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

The trouble is that you can't add a "my" there. You can't use "my $foo" and "$foo" in the same statement, because the "my" isn't in effect until the next statement.

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

  • Comment on Re^2: looking for a good idiom: return this if this is true