IMHO your examples read better if you use pronouns also: "match this and print it". (The implied $_ in the print is the "it".)
I agree that the code should be "easy to pronounce"; that is, it should emphasize what you're trying to do: is the pattern match more important or the print? In other words, if I was doing something grep-like, I'd probably write: m/.../ and print;which I'd pronounce "match something and print it". But if I was doing something like reading a command stream, I'd be more likely to use: print if /.../;and read it as "print it if (you're supposed to)".
In reply to Re: Spoken Perl: and && or what?
by VSarkiss
in thread Spoken Perl: and || && or what?
by Zaxo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |