in reply to Re^2: conditional string formatting
in thread conditional string formatting
...easily extended to handle a default case!Yes, I forgot to handle that. The defined-or touch is nice.
While the @{[]} wrapper does the job, is it completely necessary? (Perhaps I have missed something in my uncaffeinated state?) Other than a quick crutch for interpolating inside qq{} while adding single quotes and appending a newline?
-QM
--
Quantum Mechanics: The dreams stuff is made of
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: conditional string formatting
by AnomalousMonk (Archbishop) on Jun 10, 2015 at 14:00 UTC |