Perl Monk, Perl Meditation | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I used slash (/) delimiters for the longest time in my code, until it dawned on me that using a vi-compatible delimiter pair would allow me to bounce on the % key to go from the beginning to the end. (I believe this is written somewhere in the Perl documentation). As a result, qw() has become my preferred idiom, as has qq{}. Looking back at older code these days I find that q/a string/ lacks symmetry, and thus beauty. Getting back to the OP, isn't it much better if everyone uses these operators exactly in the way they are described in Perl manuals, I would say yes, that's a sensible default. But one should know when (and why) to break the rules. • another intruder with the mooring in the heart of the Perl In reply to Re^2: Quote and Quote-like Operators
by grinder
|
|