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

$_ is set by very few things: I think that's it. I don't recall anything else that can set the value. Lots of operations can alter the value, like chomp or s///.

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