Do you know where your variables are? | |
PerlMonks |
Aesthetics :)by snax (Hermit) |
on Jul 22, 2003 at 21:42 UTC ( [id://276932]=note: print w/replies, xml ) | Need Help?? |
True, but I do so hate the ternary operator :)
Well, that's not precisely true. With "complex" tests and returns I find it obfuscates the logic a bit (to my eye) -- truly a personal aesthetics issue. What I do like about BrowserUk's version is the use of $_; I should have noticed that right away. I'm slipping as work and hobby has kept me away from perl for too long. It's good to be back in the saddle again....
In Section
Seekers of Perl Wisdom
|
|