laziness, impatience, and hubris | |
PerlMonks |
Re: Joining if an arrayby Mutant (Priest) |
on May 01, 2009 at 15:37 UTC ( [id://761317]=note: print w/replies, xml ) | Need Help?? |
I might be tempted to use the ternery operator, but usually for a non-trivial assignment (like a join) I'd avoid it as it just gets messy. I'd probably do:
Not short, but pretty clear in what I mean (hopefully).
In Section
Seekers of Perl Wisdom
|
|