Why not use a heredoc instead:Yes, well, I had a good reason somewhere, I know I did, I just mislaid it.
Actually, I always have to look up whether it's "<<HERE" or <<"HERE". And then there's the balanced delimiter aspect. So I've cornered myself into qq{...}, even though the terminator's not as obvious as HEREDOCs. (Vaguely reminds me of all that in-band/out-of-band signalling discussion.)
But you're right, I should be more practical and simple, and less esoteric. I should use a bubble level instead of a laser sight, because last time I checked, it was pretty easy to use a bubble -- no batteries to run down, no beam to get in your eyes. If it's broken, it's pretty obvious.
I think everyone should learn how to use a slide rule before they're allowed to use a calculator. Or an old fashioned manual typewriter before writing a letter on a computer. No one ever lost a day's work on a typewriter because of a power outage.
-QM
--
Quantum Mechanics: The dreams stuff is made of
In reply to Re^2: Rules of Thumb, Stereotypes, and other misleading "knowledge"
by QM
in thread Rules of Thumb, Stereotypes, and other misleading "knowledge"
by QM
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |