Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^4: RFC: CGI::Tables (topicalize with for)

by Aristotle (Chancellor)
on May 11, 2003 at 02:19 UTC ( #257184=note: print w/ replies, xml ) Need Help??


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

'HASH' eq ref ? $_ : {}
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.

Makeshifts last the longest.


Comment on Re^4: RFC: CGI::Tables (topicalize with for)
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://257184]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2014-09-17 06:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (60 votes), past polls