in reply to Re^3: RFC: CGI::Tables (topicalize with for)
in thread RFC: CGI::Tables
I don't generally like foo() much for routines that operate on $_. In this case I added it because I'd've had to if I'd written
as the question mark is then parsed as a pattern delimiter instead of as part of a ternary. I usually write my comparisons that way around. But here neither the parens nor the variable is necessary as the following eq is unambiguous as to its meaning.'HASH' eq ref ? $_ : {}
Makeshifts last the longest.
|
---|
In Section
Meditations