|
|
|
|
|
by nekusar
2 days ago
|
|
I've never liked cleverness in scripting when clarity costs effectively nothing. This is one of those clever things, similar to people using perl5 use trinary expressions. Like, are you TRYING to make this obtuse and hard to read? |
|
Something like the code below is hard to read:
It's equivalent to the following code that uses `if`: But ideally you would want to write this: Though, of course, perl5 doesn't allow that.