...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
In reply to Re^3: conditional string formatting
by QM
in thread conditional string formatting
by docdurdee
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |